@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStateMachineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateStateMachineRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStateMachineRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDefinition()
The Amazon States Language definition of the state machine.
|
String |
getName()
The name of the state machine.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
|
int |
hashCode() |
void |
setDefinition(StateMachine definition)
The Amazon States Language definition of the state machine.
|
void |
setDefinition(String definition)
The Amazon States Language definition of the state machine.
|
void |
setName(String name)
The name of the state machine.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateStateMachineRequest |
withDefinition(StateMachine definition)
The Amazon States Language definition of the state machine.
|
CreateStateMachineRequest |
withDefinition(String definition)
The Amazon States Language definition of the state machine.
|
CreateStateMachineRequest |
withName(String name)
The name of the state machine.
|
CreateStateMachineRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the state machine. This name must be unique for your AWS account and region.
name
- The name of the state machine. This name must be unique for your AWS account and region.public String getName()
The name of the state machine. This name must be unique for your AWS account and region.
public CreateStateMachineRequest withName(String name)
The name of the state machine. This name must be unique for your AWS account and region.
name
- The name of the state machine. This name must be unique for your AWS account and region.public void setDefinition(String definition)
The Amazon States Language definition of the state machine.
definition
- The Amazon States Language definition of the state machine.public String getDefinition()
The Amazon States Language definition of the state machine.
public CreateStateMachineRequest withDefinition(String definition)
The Amazon States Language definition of the state machine.
definition
- The Amazon States Language definition of the state machine.public void setDefinition(StateMachine definition)
The Amazon States Language definition of the state machine.
definition
- The Amazon States Language definition of the state machine.public CreateStateMachineRequest withDefinition(StateMachine definition)
The Amazon States Language definition of the state machine.
definition
- The Amazon States Language definition of the state machine.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to use for this state machine.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
public CreateStateMachineRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to use for this state machine.public String toString()
toString
in class Object
Object.toString()
public CreateStateMachineRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.