Interface CreateStateMachineRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStateMachineRequest.Builder,CreateStateMachineRequest>,SdkBuilder<CreateStateMachineRequest.Builder,CreateStateMachineRequest>,SdkPojo,SdkRequest.Builder,SfnRequest.Builder
- Enclosing class:
- CreateStateMachineRequest
public static interface CreateStateMachineRequest.Builder extends SfnRequest.Builder, SdkPojo, CopyableBuilder<CreateStateMachineRequest.Builder,CreateStateMachineRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateStateMachineRequest.Builderdefinition(String definition)The Amazon States Language definition of the state machine.default CreateStateMachineRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)Settings to configure server-side encryption.CreateStateMachineRequest.BuilderencryptionConfiguration(EncryptionConfiguration encryptionConfiguration)Settings to configure server-side encryption.default CreateStateMachineRequest.BuilderloggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration)Defines what execution history events are logged and where they are logged.CreateStateMachineRequest.BuilderloggingConfiguration(LoggingConfiguration loggingConfiguration)Defines what execution history events are logged and where they are logged.CreateStateMachineRequest.Buildername(String name)The name of the state machine.CreateStateMachineRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateStateMachineRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateStateMachineRequest.Builderpublish(Boolean publish)Set totrueto publish the first version of the state machine during creation.CreateStateMachineRequest.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM role to use for this state machine.CreateStateMachineRequest.Buildertags(Collection<Tag> tags)Tags to be added when creating a state machine.CreateStateMachineRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags to be added when creating a state machine.CreateStateMachineRequest.Buildertags(Tag... tags)Tags to be added when creating a state machine.default CreateStateMachineRequest.BuildertracingConfiguration(Consumer<TracingConfiguration.Builder> tracingConfiguration)Selects whether X-Ray tracing is enabled.CreateStateMachineRequest.BuildertracingConfiguration(TracingConfiguration tracingConfiguration)Selects whether X-Ray tracing is enabled.CreateStateMachineRequest.Buildertype(String type)Determines whether a Standard or Express state machine is created.CreateStateMachineRequest.Buildertype(StateMachineType type)Determines whether a Standard or Express state machine is created.CreateStateMachineRequest.BuilderversionDescription(String versionDescription)Sets description about the state machine version.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnRequest.Builder
build
-
-
-
-
Method Detail
-
name
CreateStateMachineRequest.Builder name(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 _.
- Parameters:
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 _.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
definition
CreateStateMachineRequest.Builder definition(String definition)
The Amazon States Language definition of the state machine. See Amazon States Language.
- Parameters:
definition- The Amazon States Language definition of the state machine. See Amazon States Language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
CreateStateMachineRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to use for this state machine.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role to use for this state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
CreateStateMachineRequest.Builder type(String type)
Determines whether a Standard or Express state machine is created. The default is
STANDARD. You cannot update thetypeof a state machine once it has been created.- Parameters:
type- Determines whether a Standard or Express state machine is created. The default isSTANDARD. You cannot update thetypeof a state machine once it has been created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StateMachineType,StateMachineType
-
type
CreateStateMachineRequest.Builder type(StateMachineType type)
Determines whether a Standard or Express state machine is created. The default is
STANDARD. You cannot update thetypeof a state machine once it has been created.- Parameters:
type- Determines whether a Standard or Express state machine is created. The default isSTANDARD. You cannot update thetypeof a state machine once it has been created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StateMachineType,StateMachineType
-
loggingConfiguration
CreateStateMachineRequest.Builder loggingConfiguration(LoggingConfiguration loggingConfiguration)
Defines what execution history events are logged and where they are logged.
By default, the
levelis set toOFF. For more information see Log Levels in the Step Functions User Guide.- Parameters:
loggingConfiguration- Defines what execution history events are logged and where they are logged.By default, the
levelis set toOFF. For more information see Log Levels in the Step Functions User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default CreateStateMachineRequest.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration)
Defines what execution history events are logged and where they are logged.
This is a convenience method that creates an instance of theBy default, the
levelis set toOFF. For more information see Log Levels in the Step Functions User Guide.LoggingConfiguration.Builderavoiding the need to create one manually viaLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingConfiguration(LoggingConfiguration).- Parameters:
loggingConfiguration- a consumer that will call methods onLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
loggingConfiguration(LoggingConfiguration)
-
tags
CreateStateMachineRequest.Builder tags(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 Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @.- Parameters:
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 Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateStateMachineRequest.Builder tags(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 Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @.- Parameters:
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 Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols:
_ . : / = + - @.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateStateMachineRequest.Builder tags(Consumer<Tag.Builder>... 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 Amazon Web Services Billing and Cost Management User Guide, and Controlling Access Using IAM Tags.
Tags may only contain Unicode letters, digits, white space, or these symbols:
This is a convenience method that creates an instance of the_ . : / = + - @.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
tracingConfiguration
CreateStateMachineRequest.Builder tracingConfiguration(TracingConfiguration tracingConfiguration)
Selects whether X-Ray tracing is enabled.
- Parameters:
tracingConfiguration- Selects whether X-Ray tracing is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tracingConfiguration
default CreateStateMachineRequest.Builder tracingConfiguration(Consumer<TracingConfiguration.Builder> tracingConfiguration)
Selects whether X-Ray tracing is enabled.
This is a convenience method that creates an instance of theTracingConfiguration.Builderavoiding the need to create one manually viaTracingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totracingConfiguration(TracingConfiguration).- Parameters:
tracingConfiguration- a consumer that will call methods onTracingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tracingConfiguration(TracingConfiguration)
-
publish
CreateStateMachineRequest.Builder publish(Boolean publish)
Set to
trueto publish the first version of the state machine during creation. The default isfalse.- Parameters:
publish- Set totrueto publish the first version of the state machine during creation. The default isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionDescription
CreateStateMachineRequest.Builder versionDescription(String versionDescription)
Sets description about the state machine version. You can only set the description if the
publishparameter is set totrue. Otherwise, if you setversionDescription, butpublishtofalse, this API action throwsValidationException.- Parameters:
versionDescription- Sets description about the state machine version. You can only set the description if thepublishparameter is set totrue. Otherwise, if you setversionDescription, butpublishtofalse, this API action throwsValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
CreateStateMachineRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
Settings to configure server-side encryption.
- Parameters:
encryptionConfiguration- Settings to configure server-side encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateStateMachineRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
Settings to configure server-side encryption.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionConfiguration(EncryptionConfiguration)
-
overrideConfiguration
CreateStateMachineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStateMachineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-