@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStateMachineAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateStateMachineAliasRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStateMachineAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description for the state machine alias.
|
String |
getName()
The name of the state machine alias.
|
List<RoutingConfigurationListItem> |
getRoutingConfiguration()
The routing configuration of a state machine alias.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the state machine alias.
|
void |
setName(String name)
The name of the state machine alias.
|
void |
setRoutingConfiguration(Collection<RoutingConfigurationListItem> routingConfiguration)
The routing configuration of a state machine alias.
|
String |
toString()
Returns a string representation of this object.
|
CreateStateMachineAliasRequest |
withDescription(String description)
A description for the state machine alias.
|
CreateStateMachineAliasRequest |
withName(String name)
The name of the state machine alias.
|
CreateStateMachineAliasRequest |
withRoutingConfiguration(Collection<RoutingConfigurationListItem> routingConfiguration)
The routing configuration of a state machine alias.
|
CreateStateMachineAliasRequest |
withRoutingConfiguration(RoutingConfigurationListItem... routingConfiguration)
The routing configuration of a state machine alias.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDescription(String description)
A description for the state machine alias.
description
- A description for the state machine alias.public String getDescription()
A description for the state machine alias.
public CreateStateMachineAliasRequest withDescription(String description)
A description for the state machine alias.
description
- A description for the state machine alias.public void setName(String name)
The name of the state machine alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
name
- The name of the state machine alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
public String getName()
The name of the state machine alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
public CreateStateMachineAliasRequest withName(String name)
The name of the state machine alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
name
- The name of the state machine alias.
To avoid conflict with version ARNs, don't use an integer in the name of the alias.
public List<RoutingConfigurationListItem> getRoutingConfiguration()
The routing configuration of a state machine alias. The routing configuration shifts execution traffic between
two state machine versions. routingConfiguration
contains an array of RoutingConfig
objects that specify up to two state machine versions. Step Functions then randomly choses which version to run
an execution with based on the weight assigned to each RoutingConfig
.
routingConfiguration
contains an array of
RoutingConfig
objects that specify up to two state machine versions. Step Functions then
randomly choses which version to run an execution with based on the weight assigned to each
RoutingConfig
.public void setRoutingConfiguration(Collection<RoutingConfigurationListItem> routingConfiguration)
The routing configuration of a state machine alias. The routing configuration shifts execution traffic between
two state machine versions. routingConfiguration
contains an array of RoutingConfig
objects that specify up to two state machine versions. Step Functions then randomly choses which version to run
an execution with based on the weight assigned to each RoutingConfig
.
routingConfiguration
- The routing configuration of a state machine alias. The routing configuration shifts execution traffic
between two state machine versions. routingConfiguration
contains an array of
RoutingConfig
objects that specify up to two state machine versions. Step Functions then
randomly choses which version to run an execution with based on the weight assigned to each
RoutingConfig
.public CreateStateMachineAliasRequest withRoutingConfiguration(RoutingConfigurationListItem... routingConfiguration)
The routing configuration of a state machine alias. The routing configuration shifts execution traffic between
two state machine versions. routingConfiguration
contains an array of RoutingConfig
objects that specify up to two state machine versions. Step Functions then randomly choses which version to run
an execution with based on the weight assigned to each RoutingConfig
.
NOTE: This method appends the values to the existing list (if any). Use
setRoutingConfiguration(java.util.Collection)
or withRoutingConfiguration(java.util.Collection)
if you want to override the existing values.
routingConfiguration
- The routing configuration of a state machine alias. The routing configuration shifts execution traffic
between two state machine versions. routingConfiguration
contains an array of
RoutingConfig
objects that specify up to two state machine versions. Step Functions then
randomly choses which version to run an execution with based on the weight assigned to each
RoutingConfig
.public CreateStateMachineAliasRequest withRoutingConfiguration(Collection<RoutingConfigurationListItem> routingConfiguration)
The routing configuration of a state machine alias. The routing configuration shifts execution traffic between
two state machine versions. routingConfiguration
contains an array of RoutingConfig
objects that specify up to two state machine versions. Step Functions then randomly choses which version to run
an execution with based on the weight assigned to each RoutingConfig
.
routingConfiguration
- The routing configuration of a state machine alias. The routing configuration shifts execution traffic
between two state machine versions. routingConfiguration
contains an array of
RoutingConfig
objects that specify up to two state machine versions. Step Functions then
randomly choses which version to run an execution with based on the weight assigned to each
RoutingConfig
.public String toString()
toString
in class Object
Object.toString()
public CreateStateMachineAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()