Class CfnRouteProps.Builder
java.lang.Object
software.amazon.awscdk.services.refactorspaces.CfnRouteProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteProps>
- Enclosing interface:
CfnRouteProps
@Stability(Stable)
public static final class CfnRouteProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteProps>
A builder for
CfnRouteProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationIdentifier
(String applicationIdentifier) Sets the value ofCfnRouteProps.getApplicationIdentifier()
build()
Builds the configured instance.defaultRoute
(IResolvable defaultRoute) Sets the value ofCfnRouteProps.getDefaultRoute()
defaultRoute
(CfnRoute.DefaultRouteInputProperty defaultRoute) Sets the value ofCfnRouteProps.getDefaultRoute()
environmentIdentifier
(String environmentIdentifier) Sets the value ofCfnRouteProps.getEnvironmentIdentifier()
Sets the value ofCfnRouteProps.getRouteType()
serviceIdentifier
(String serviceIdentifier) Sets the value ofCfnRouteProps.getServiceIdentifier()
Sets the value ofCfnRouteProps.getTags()
uriPathRoute
(IResolvable uriPathRoute) Sets the value ofCfnRouteProps.getUriPathRoute()
uriPathRoute
(CfnRoute.UriPathRouteInputProperty uriPathRoute) Sets the value ofCfnRouteProps.getUriPathRoute()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationIdentifier
Sets the value ofCfnRouteProps.getApplicationIdentifier()
- Parameters:
applicationIdentifier
- The unique identifier of the application. This parameter is required.- Returns:
this
-
environmentIdentifier
Sets the value ofCfnRouteProps.getEnvironmentIdentifier()
- Parameters:
environmentIdentifier
- The unique identifier of the environment. This parameter is required.- Returns:
this
-
routeType
Sets the value ofCfnRouteProps.getRouteType()
- Parameters:
routeType
- The route type of the route. This parameter is required.- Returns:
this
-
serviceIdentifier
Sets the value ofCfnRouteProps.getServiceIdentifier()
- Parameters:
serviceIdentifier
- The unique identifier of the service. This parameter is required.- Returns:
this
-
defaultRoute
Sets the value ofCfnRouteProps.getDefaultRoute()
- Parameters:
defaultRoute
- Configuration for the default route type.- Returns:
this
-
defaultRoute
@Stability(Stable) public CfnRouteProps.Builder defaultRoute(CfnRoute.DefaultRouteInputProperty defaultRoute) Sets the value ofCfnRouteProps.getDefaultRoute()
- Parameters:
defaultRoute
- Configuration for the default route type.- Returns:
this
-
tags
Sets the value ofCfnRouteProps.getTags()
- Parameters:
tags
- The tags assigned to the route.- Returns:
this
-
uriPathRoute
Sets the value ofCfnRouteProps.getUriPathRoute()
- Parameters:
uriPathRoute
- The configuration for the URI path route type.- Returns:
this
-
uriPathRoute
@Stability(Stable) public CfnRouteProps.Builder uriPathRoute(CfnRoute.UriPathRouteInputProperty uriPathRoute) Sets the value ofCfnRouteProps.getUriPathRoute()
- Parameters:
uriPathRoute
- The configuration for the URI path route type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRouteProps>
- Returns:
- a new instance of
CfnRouteProps
- Throws:
NullPointerException
- if any required attribute was not provided
-