@Generated(value="software.amazon.awssdk:codegen") public final class CreateStateMachineRequest extends SfnRequest implements ToCopyableBuilder<CreateStateMachineRequest.Builder,CreateStateMachineRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateStateMachineRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateStateMachineRequest.Builder |
builder() |
String |
definition()
The Amazon States Language definition of the state machine.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
LoggingConfiguration |
loggingConfiguration()
Defines what execution history events are logged and where they are logged.
|
String |
name()
The name of the state machine.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateStateMachineRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Tags to be added when creating a state machine.
|
CreateStateMachineRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TracingConfiguration |
tracingConfiguration()
Selects whether AWS X-Ray tracing is enabled.
|
StateMachineType |
type()
Determines whether a Standard or Express state machine is created.
|
String |
typeAsString()
Determines whether a Standard or Express state machine is created.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 _.
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 definition()
The Amazon States Language definition of the state machine. See Amazon States Language.
public String roleArn()
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
public 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.
If the service returns an enum value that is not available in the current SDK version, type will return
StateMachineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
STANDARD.
You cannot update the type of a state machine once it has been created.StateMachineTypepublic String typeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, type will return
StateMachineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
STANDARD.
You cannot update the type of a state machine once it has been created.StateMachineTypepublic 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.
By default, the level is set to OFF. For more information see Log Levels in
the AWS Step Functions User Guide.
public boolean hasTags()
public List<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: _ . : / = + - @.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
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 TracingConfiguration tracingConfiguration()
Selects whether AWS X-Ray tracing is enabled.
public CreateStateMachineRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateStateMachineRequest.Builder,CreateStateMachineRequest>toBuilder in class SfnRequestpublic static CreateStateMachineRequest.Builder builder()
public static Class<? extends CreateStateMachineRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.