Interface AwsStepFunctionStateMachineDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsStepFunctionStateMachineDetails.Builder,
,AwsStepFunctionStateMachineDetails> SdkBuilder<AwsStepFunctionStateMachineDetails.Builder,
,AwsStepFunctionStateMachineDetails> SdkPojo
- Enclosing class:
AwsStepFunctionStateMachineDetails
-
Method Summary
Modifier and TypeMethodDescriptionA user-defined or an auto-generated string that identifies aMap
state.loggingConfiguration
(Consumer<AwsStepFunctionStateMachineLoggingConfigurationDetails.Builder> loggingConfiguration) Used to set CloudWatch Logs options.loggingConfiguration
(AwsStepFunctionStateMachineLoggingConfigurationDetails loggingConfiguration) Used to set CloudWatch Logs options.The name of the state machine.The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.stateMachineArn
(String stateMachineArn) The ARN that identifies the state machine.The current status of the state machine.tracingConfiguration
(Consumer<AwsStepFunctionStateMachineTracingConfigurationDetails.Builder> tracingConfiguration) Specifies whether X-Ray tracing is enabled.tracingConfiguration
(AwsStepFunctionStateMachineTracingConfigurationDetails tracingConfiguration) Specifies whether X-Ray tracing is enabled.The type of the state machine (STANDARD or EXPRESS).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
-
Method Details
-
label
A user-defined or an auto-generated string that identifies a
Map
state. This parameter is present only if thestateMachineArn
specified in input is a qualified state machine ARN.- Parameters:
label
- A user-defined or an auto-generated string that identifies aMap
state. This parameter is present only if thestateMachineArn
specified in input is a qualified state machine ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
AwsStepFunctionStateMachineDetails.Builder loggingConfiguration(AwsStepFunctionStateMachineLoggingConfigurationDetails loggingConfiguration) Used to set CloudWatch Logs options.
- Parameters:
loggingConfiguration
- Used to set CloudWatch Logs options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default AwsStepFunctionStateMachineDetails.Builder loggingConfiguration(Consumer<AwsStepFunctionStateMachineLoggingConfigurationDetails.Builder> loggingConfiguration) Used to set CloudWatch Logs options.
This is a convenience method that creates an instance of theAwsStepFunctionStateMachineLoggingConfigurationDetails.Builder
avoiding the need to create one manually viaAwsStepFunctionStateMachineLoggingConfigurationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingConfiguration(AwsStepFunctionStateMachineLoggingConfigurationDetails)
.- Parameters:
loggingConfiguration
- a consumer that will call methods onAwsStepFunctionStateMachineLoggingConfigurationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the state machine.
- Parameters:
name
- The name of the state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateMachineArn
The ARN that identifies the state machine.
- Parameters:
stateMachineArn
- The ARN that identifies the state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the state machine.
- Parameters:
status
- The current status of the state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tracingConfiguration
AwsStepFunctionStateMachineDetails.Builder tracingConfiguration(AwsStepFunctionStateMachineTracingConfigurationDetails tracingConfiguration) Specifies whether X-Ray tracing is enabled.
- Parameters:
tracingConfiguration
- Specifies whether X-Ray tracing is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tracingConfiguration
default AwsStepFunctionStateMachineDetails.Builder tracingConfiguration(Consumer<AwsStepFunctionStateMachineTracingConfigurationDetails.Builder> tracingConfiguration) Specifies whether X-Ray tracing is enabled.
This is a convenience method that creates an instance of theAwsStepFunctionStateMachineTracingConfigurationDetails.Builder
avoiding the need to create one manually viaAwsStepFunctionStateMachineTracingConfigurationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totracingConfiguration(AwsStepFunctionStateMachineTracingConfigurationDetails)
.- Parameters:
tracingConfiguration
- a consumer that will call methods onAwsStepFunctionStateMachineTracingConfigurationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the state machine (STANDARD or EXPRESS).
- Parameters:
type
- The type of the state machine (STANDARD or EXPRESS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-