public static final class CfnRouteProps.Builder
extends java.lang.Object
CfnRouteProps
Constructor and Description |
---|
Builder() |
public CfnRouteProps.Builder applicationIdentifier(java.lang.String applicationIdentifier)
CfnRouteProps.getApplicationIdentifier()
applicationIdentifier
- The unique identifier of the application. This parameter is required.this
public CfnRouteProps.Builder environmentIdentifier(java.lang.String environmentIdentifier)
CfnRouteProps.getEnvironmentIdentifier()
environmentIdentifier
- The unique identifier of the environment. This parameter is required.this
public CfnRouteProps.Builder serviceIdentifier(java.lang.String serviceIdentifier)
CfnRouteProps.getServiceIdentifier()
serviceIdentifier
- The unique identifier of the service. This parameter is required.this
public CfnRouteProps.Builder defaultRoute(IResolvable defaultRoute)
CfnRouteProps.getDefaultRoute()
defaultRoute
- Configuration for the default route type.this
public CfnRouteProps.Builder defaultRoute(CfnRoute.DefaultRouteInputProperty defaultRoute)
CfnRouteProps.getDefaultRoute()
defaultRoute
- Configuration for the default route type.this
public CfnRouteProps.Builder routeType(java.lang.String routeType)
CfnRouteProps.getRouteType()
routeType
- The route type of the route.this
public CfnRouteProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnRouteProps.getTags()
tags
- The tags assigned to the route.this
public CfnRouteProps.Builder uriPathRoute(IResolvable uriPathRoute)
CfnRouteProps.getUriPathRoute()
uriPathRoute
- The configuration for the URI path route type.this
public CfnRouteProps.Builder uriPathRoute(CfnRoute.UriPathRouteInputProperty uriPathRoute)
CfnRouteProps.getUriPathRoute()
uriPathRoute
- The configuration for the URI path route type.this
public CfnRouteProps build()
CfnRouteProps
java.lang.NullPointerException
- if any required attribute was not provided