@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDefinition()
The Amazon States Language definition of the state machine.
|
LoggingConfiguration |
getLoggingConfiguration()
Defines what execution history events are logged and where they are logged.
|
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.
|
List<Tag> |
getTags()
Tags to be added when creating a state machine.
|
String |
getType()
Determines whether a Standard or Express state machine is created.
|
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 |
setLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Defines what execution history events are logged and where they are logged.
|
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.
|
void |
setTags(Collection<Tag> tags)
Tags to be added when creating a state machine.
|
void |
setType(String type)
Determines whether a Standard or Express state machine is created.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Defines what execution history events are logged and where they are logged.
|
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.
|
CreateStateMachineRequest |
withTags(Collection<Tag> tags)
Tags to be added when creating a state machine.
|
CreateStateMachineRequest |
withTags(Tag... tags)
Tags to be added when creating a state machine.
|
CreateStateMachineRequest |
withType(StateMachineType type)
Determines whether a Standard or Express state machine is created.
|
CreateStateMachineRequest |
withType(String type)
Determines whether a Standard or Express state machine is created.
|
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 setName(String name)
The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
name
- The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
public String getName()
The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
public CreateStateMachineRequest withName(String name)
The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
name
- The name of the state machine.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
public void setDefinition(String definition)
The Amazon States Language definition of the state machine. See Amazon States Language.
definition
- The Amazon States Language definition of the state machine. See Amazon
States Language.public String getDefinition()
The Amazon States Language definition of the state machine. See Amazon States Language.
public CreateStateMachineRequest withDefinition(String definition)
The Amazon States Language definition of the state machine. See Amazon States Language.
definition
- The Amazon States Language definition of the state machine. See Amazon
States Language.public void setDefinition(StateMachine definition)
The Amazon States Language definition of the state machine. See Amazon States Language.
definition
- The Amazon States Language definition of the state machine. See Amazon
States Language.public CreateStateMachineRequest withDefinition(StateMachine definition)
The Amazon States Language definition of the state machine. See Amazon States Language.
definition
- The Amazon States Language definition of the state machine. See Amazon
States Language.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 void setType(String type)
Determines whether a Standard or Express state machine is created. If not set, Standard is created.
type
- Determines whether a Standard or Express state machine is created. If not set, Standard is created.StateMachineType
public String getType()
Determines whether a Standard or Express state machine is created. If not set, Standard is created.
StateMachineType
public CreateStateMachineRequest withType(String type)
Determines whether a Standard or Express state machine is created. If not set, Standard is created.
type
- Determines whether a Standard or Express state machine is created. If not set, Standard is created.StateMachineType
public CreateStateMachineRequest withType(StateMachineType type)
Determines whether a Standard or Express state machine is created. If not set, Standard is created.
type
- Determines whether a Standard or Express state machine is created. If not set, Standard is created.StateMachineType
public void setLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Defines what execution history events are logged and where they are logged.
loggingConfiguration
- Defines what execution history events are logged and where they are logged.public LoggingConfiguration getLoggingConfiguration()
Defines what execution history events are logged and where they are logged.
public CreateStateMachineRequest withLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Defines what execution history events are logged and where they are logged.
loggingConfiguration
- Defines what execution history events are logged and where they are logged.public List<Tag> getTags()
Tags to be added when creating a state machine.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @
.
public void setTags(Collection<Tag> tags)
Tags to be added when creating a state machine.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
tags
- Tags to be added when creating a state machine.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
public CreateStateMachineRequest withTags(Tag... tags)
Tags to be added when creating a state machine.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags to be added when creating a state machine.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
public CreateStateMachineRequest withTags(Collection<Tag> tags)
Tags to be added when creating a state machine.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
tags
- Tags to be added when creating a state machine.
An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols: _ . : / = + - @
.
public String toString()
toString
in class Object
Object.toString()
public CreateStateMachineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.