public static final class CfnRoute.UriPathRouteInputProperty.Builder
extends java.lang.Object
CfnRoute.UriPathRouteInputProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRoute.UriPathRouteInputProperty.Builder |
activationState(java.lang.String activationState)
Sets the value of
CfnRoute.UriPathRouteInputProperty.getActivationState() |
CfnRoute.UriPathRouteInputProperty |
build()
Builds the configured instance.
|
CfnRoute.UriPathRouteInputProperty.Builder |
includeChildPaths(java.lang.Boolean includeChildPaths)
Sets the value of
CfnRoute.UriPathRouteInputProperty.getIncludeChildPaths() |
CfnRoute.UriPathRouteInputProperty.Builder |
includeChildPaths(IResolvable includeChildPaths)
Sets the value of
CfnRoute.UriPathRouteInputProperty.getIncludeChildPaths() |
CfnRoute.UriPathRouteInputProperty.Builder |
methods(java.util.List<java.lang.String> methods)
Sets the value of
CfnRoute.UriPathRouteInputProperty.getMethods() |
CfnRoute.UriPathRouteInputProperty.Builder |
sourcePath(java.lang.String sourcePath)
Sets the value of
CfnRoute.UriPathRouteInputProperty.getSourcePath() |
public CfnRoute.UriPathRouteInputProperty.Builder activationState(java.lang.String activationState)
CfnRoute.UriPathRouteInputProperty.getActivationState()
activationState
- If set to `ACTIVE` , traffic is forwarded to this route’s service after the route is created. This parameter is required.this
public CfnRoute.UriPathRouteInputProperty.Builder includeChildPaths(java.lang.Boolean includeChildPaths)
CfnRoute.UriPathRouteInputProperty.getIncludeChildPaths()
includeChildPaths
- Indicates whether to match all subpaths of the given source path.
If this value is false
, requests must match the source path exactly before they are forwarded to this route's service.this
public CfnRoute.UriPathRouteInputProperty.Builder includeChildPaths(IResolvable includeChildPaths)
CfnRoute.UriPathRouteInputProperty.getIncludeChildPaths()
includeChildPaths
- Indicates whether to match all subpaths of the given source path.
If this value is false
, requests must match the source path exactly before they are forwarded to this route's service.this
public CfnRoute.UriPathRouteInputProperty.Builder methods(java.util.List<java.lang.String> methods)
CfnRoute.UriPathRouteInputProperty.getMethods()
methods
- A list of HTTP methods to match.
An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.this
public CfnRoute.UriPathRouteInputProperty.Builder sourcePath(java.lang.String sourcePath)
CfnRoute.UriPathRouteInputProperty.getSourcePath()
sourcePath
- The path to use to match traffic.
Paths must start with /
and are relative to the base of the application.this
public CfnRoute.UriPathRouteInputProperty build()
CfnRoute.UriPathRouteInputProperty
java.lang.NullPointerException
- if any required attribute was not provided