@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UriPathRouteInput extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the URI path route type.
Constructor and Description |
---|
UriPathRouteInput() |
Modifier and Type | Method and Description |
---|---|
UriPathRouteInput |
clone() |
boolean |
equals(Object obj) |
String |
getActivationState()
If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. |
Boolean |
getAppendSourcePath()
If set to
true , this option appends the source path to the service URL endpoint. |
Boolean |
getIncludeChildPaths()
Indicates whether to match all subpaths of the given source path.
|
List<String> |
getMethods()
A list of HTTP methods to match.
|
String |
getSourcePath()
This is the path that Refactor Spaces uses to match traffic.
|
int |
hashCode() |
Boolean |
isAppendSourcePath()
If set to
true , this option appends the source path to the service URL endpoint. |
Boolean |
isIncludeChildPaths()
Indicates whether to match all subpaths of the given source path.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActivationState(String activationState)
If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. |
void |
setAppendSourcePath(Boolean appendSourcePath)
If set to
true , this option appends the source path to the service URL endpoint. |
void |
setIncludeChildPaths(Boolean includeChildPaths)
Indicates whether to match all subpaths of the given source path.
|
void |
setMethods(Collection<String> methods)
A list of HTTP methods to match.
|
void |
setSourcePath(String sourcePath)
This is the path that Refactor Spaces uses to match traffic.
|
String |
toString()
Returns a string representation of this object.
|
UriPathRouteInput |
withActivationState(RouteActivationState activationState)
If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. |
UriPathRouteInput |
withActivationState(String activationState)
If set to
ACTIVE , traffic is forwarded to this route’s service after the route is created. |
UriPathRouteInput |
withAppendSourcePath(Boolean appendSourcePath)
If set to
true , this option appends the source path to the service URL endpoint. |
UriPathRouteInput |
withIncludeChildPaths(Boolean includeChildPaths)
Indicates whether to match all subpaths of the given source path.
|
UriPathRouteInput |
withMethods(Collection<String> methods)
A list of HTTP methods to match.
|
UriPathRouteInput |
withMethods(HttpMethod... methods)
A list of HTTP methods to match.
|
UriPathRouteInput |
withMethods(String... methods)
A list of HTTP methods to match.
|
UriPathRouteInput |
withSourcePath(String sourcePath)
This is the path that Refactor Spaces uses to match traffic.
|
public void setActivationState(String activationState)
If set to ACTIVE
, traffic is forwarded to this route’s service after the route is created.
activationState
- If set to ACTIVE
, traffic is forwarded to this route’s service after the route is created.RouteActivationState
public String getActivationState()
If set to ACTIVE
, traffic is forwarded to this route’s service after the route is created.
ACTIVE
, traffic is forwarded to this route’s service after the route is created.RouteActivationState
public UriPathRouteInput withActivationState(String activationState)
If set to ACTIVE
, traffic is forwarded to this route’s service after the route is created.
activationState
- If set to ACTIVE
, traffic is forwarded to this route’s service after the route is created.RouteActivationState
public UriPathRouteInput withActivationState(RouteActivationState activationState)
If set to ACTIVE
, traffic is forwarded to this route’s service after the route is created.
activationState
- If set to ACTIVE
, traffic is forwarded to this route’s service after the route is created.RouteActivationState
public void setAppendSourcePath(Boolean appendSourcePath)
If set to true
, this option appends the source path to the service URL endpoint.
appendSourcePath
- If set to true
, this option appends the source path to the service URL endpoint.public Boolean getAppendSourcePath()
If set to true
, this option appends the source path to the service URL endpoint.
true
, this option appends the source path to the service URL endpoint.public UriPathRouteInput withAppendSourcePath(Boolean appendSourcePath)
If set to true
, this option appends the source path to the service URL endpoint.
appendSourcePath
- If set to true
, this option appends the source path to the service URL endpoint.public Boolean isAppendSourcePath()
If set to true
, this option appends the source path to the service URL endpoint.
true
, this option appends the source path to the service URL endpoint.public void setIncludeChildPaths(Boolean 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.
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.public Boolean getIncludeChildPaths()
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.
false
,
requests must match the source path exactly before they are forwarded to this route's service.public UriPathRouteInput withIncludeChildPaths(Boolean 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.
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.public Boolean isIncludeChildPaths()
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.
false
,
requests must match the source path exactly before they are forwarded to this route's service.public List<String> getMethods()
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.
HttpMethod
public void setMethods(Collection<String> 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.
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.HttpMethod
public UriPathRouteInput withMethods(String... 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.
NOTE: This method appends the values to the existing list (if any). Use
setMethods(java.util.Collection)
or withMethods(java.util.Collection)
if you want to override
the existing values.
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.HttpMethod
public UriPathRouteInput withMethods(Collection<String> 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.
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.HttpMethod
public UriPathRouteInput withMethods(HttpMethod... 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.
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.HttpMethod
public void setSourcePath(String 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'.
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'.public String getSourcePath()
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'.
/
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'.public UriPathRouteInput withSourcePath(String 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'.
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'.public String toString()
toString
in class Object
Object.toString()
public UriPathRouteInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.