Class CfnRoutePropsMixin.UriPathRouteInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.refactorspaces.CfnRoutePropsMixin.UriPathRouteInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutePropsMixin.UriPathRouteInputProperty>
- Enclosing interface:
CfnRoutePropsMixin.UriPathRouteInputProperty
@Stability(Stable)
public static final class CfnRoutePropsMixin.UriPathRouteInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutePropsMixin.UriPathRouteInputProperty>
A builder for
CfnRoutePropsMixin.UriPathRouteInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivationState(String activationState) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getActivationState()appendSourcePath(Boolean appendSourcePath) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getAppendSourcePath()appendSourcePath(IResolvable appendSourcePath) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getAppendSourcePath()build()Builds the configured instance.includeChildPaths(Boolean includeChildPaths) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getIncludeChildPaths()includeChildPaths(IResolvable includeChildPaths) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getIncludeChildPaths()Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getMethods()sourcePath(String sourcePath) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getSourcePath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activationState
@Stability(Stable) public CfnRoutePropsMixin.UriPathRouteInputProperty.Builder activationState(String activationState) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getActivationState()- Parameters:
activationState- If set toACTIVE, traffic is forwarded to this route’s service after the route is created.- Returns:
this
-
appendSourcePath
@Stability(Stable) public CfnRoutePropsMixin.UriPathRouteInputProperty.Builder appendSourcePath(Boolean appendSourcePath) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getAppendSourcePath()- Parameters:
appendSourcePath- If set totrue, this option appends the source path to the service URL endpoint.- Returns:
this
-
appendSourcePath
@Stability(Stable) public CfnRoutePropsMixin.UriPathRouteInputProperty.Builder appendSourcePath(IResolvable appendSourcePath) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getAppendSourcePath()- Parameters:
appendSourcePath- If set totrue, this option appends the source path to the service URL endpoint.- Returns:
this
-
includeChildPaths
@Stability(Stable) public CfnRoutePropsMixin.UriPathRouteInputProperty.Builder includeChildPaths(Boolean includeChildPaths) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getIncludeChildPaths()- Parameters:
includeChildPaths- Indicates whether to match all subpaths of the given source path. If this value isfalse, requests must match the source path exactly before they are forwarded to this route's service.- Returns:
this
-
includeChildPaths
@Stability(Stable) public CfnRoutePropsMixin.UriPathRouteInputProperty.Builder includeChildPaths(IResolvable includeChildPaths) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getIncludeChildPaths()- Parameters:
includeChildPaths- Indicates whether to match all subpaths of the given source path. If this value isfalse, requests must match the source path exactly before they are forwarded to this route's service.- Returns:
this
-
methods
@Stability(Stable) public CfnRoutePropsMixin.UriPathRouteInputProperty.Builder methods(List<String> methods) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getMethods()- Parameters:
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.- Returns:
this
-
sourcePath
@Stability(Stable) public CfnRoutePropsMixin.UriPathRouteInputProperty.Builder sourcePath(String sourcePath) Sets the value ofCfnRoutePropsMixin.UriPathRouteInputProperty.getSourcePath()- Parameters:
sourcePath- This is the path that Refactor Spaces uses to match traffic. Paths must start with/and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutePropsMixin.UriPathRouteInputProperty>- Returns:
- a new instance of
CfnRoutePropsMixin.UriPathRouteInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-