@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.
|
TracingConfiguration |
getTracingConfiguration()
Selects whether AWS X-Ray tracing is enabled.
|
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 |
setTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether AWS X-Ray tracing is enabled.
|
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 |
withTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether AWS X-Ray tracing is enabled.
|
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
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
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
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
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
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
A name must not contain:
white space
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
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
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
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
)
To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
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. The default is STANDARD
. You
cannot update the type
of a state machine once it has been created.
type
- Determines whether a Standard or Express state machine is created. The default is STANDARD
.
You cannot update the type
of a state machine once it has been created.StateMachineType
public String getType()
Determines whether a Standard or Express state machine is created. The default is STANDARD
. You
cannot update the type
of a state machine once it has been created.
STANDARD
.
You cannot update the type
of a state machine once it has been created.StateMachineType
public CreateStateMachineRequest withType(String type)
Determines whether a Standard or Express state machine is created. The default is STANDARD
. You
cannot update the type
of a state machine once it has been created.
type
- Determines whether a Standard or Express state machine is created. The default is STANDARD
.
You cannot update the type
of a state machine once it has been created.StateMachineType
public CreateStateMachineRequest withType(StateMachineType type)
Determines whether a Standard or Express state machine is created. The default is STANDARD
. You
cannot update the type
of a state machine once it has been created.
type
- Determines whether a Standard or Express state machine is created. The default is STANDARD
.
You cannot update the type
of a state machine once it has been created.StateMachineType
public void setLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Defines what execution history events are logged and where they are logged.
By default, the level
is set to OFF
. For more information see Log Levels in the AWS
Step Functions User Guide.
loggingConfiguration
- Defines what execution history events are logged and where they are logged.
By default, the level
is set to OFF
. For more information see Log Levels in
the AWS Step Functions User Guide.
public LoggingConfiguration getLoggingConfiguration()
Defines what execution history events are logged and where they are logged.
By default, the level
is set to OFF
. For more information see Log Levels in the AWS
Step Functions User Guide.
By default, the level
is set to OFF
. For more information see Log Levels in
the AWS Step Functions User Guide.
public CreateStateMachineRequest withLoggingConfiguration(LoggingConfiguration loggingConfiguration)
Defines what execution history events are logged and where they are logged.
By default, the level
is set to OFF
. For more information see Log Levels in the AWS
Step Functions User Guide.
loggingConfiguration
- Defines what execution history events are logged and where they are logged.
By default, the level
is set to OFF
. For more information see Log Levels in
the AWS Step Functions User Guide.
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 void setTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether AWS X-Ray tracing is enabled.
tracingConfiguration
- Selects whether AWS X-Ray tracing is enabled.public TracingConfiguration getTracingConfiguration()
Selects whether AWS X-Ray tracing is enabled.
public CreateStateMachineRequest withTracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether AWS X-Ray tracing is enabled.
tracingConfiguration
- Selects whether AWS X-Ray tracing is enabled.public String toString()
toString
in class Object
Object.toString()
public CreateStateMachineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()