Interface AwsStepFunctionStateMachineDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsStepFunctionStateMachineDetails.Builder,AwsStepFunctionStateMachineDetails>,SdkBuilder<AwsStepFunctionStateMachineDetails.Builder,AwsStepFunctionStateMachineDetails>,SdkPojo
- Enclosing class:
- AwsStepFunctionStateMachineDetails
public static interface AwsStepFunctionStateMachineDetails.Builder extends SdkPojo, CopyableBuilder<AwsStepFunctionStateMachineDetails.Builder,AwsStepFunctionStateMachineDetails>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
label
AwsStepFunctionStateMachineDetails.Builder label(String label)
A user-defined or an auto-generated string that identifies a
Mapstate. This parameter is present only if thestateMachineArnspecified in input is a qualified state machine ARN.- Parameters:
label- A user-defined or an auto-generated string that identifies aMapstate. This parameter is present only if thestateMachineArnspecified 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.Builderavoiding the need to create one manually viaAwsStepFunctionStateMachineLoggingConfigurationDetails.builder().When the
Consumercompletes,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:
loggingConfiguration(AwsStepFunctionStateMachineLoggingConfigurationDetails)
-
name
AwsStepFunctionStateMachineDetails.Builder name(String 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
AwsStepFunctionStateMachineDetails.Builder roleArn(String 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
AwsStepFunctionStateMachineDetails.Builder stateMachineArn(String 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
AwsStepFunctionStateMachineDetails.Builder status(String 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.Builderavoiding the need to create one manually viaAwsStepFunctionStateMachineTracingConfigurationDetails.builder().When the
Consumercompletes,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:
tracingConfiguration(AwsStepFunctionStateMachineTracingConfigurationDetails)
-
type
AwsStepFunctionStateMachineDetails.Builder type(String 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.
-
-