Interface DescribeStateMachineForExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeStateMachineForExecutionResponse.Builder,
,DescribeStateMachineForExecutionResponse> SdkBuilder<DescribeStateMachineForExecutionResponse.Builder,
,DescribeStateMachineForExecutionResponse> SdkPojo
,SdkResponse.Builder
,SfnResponse.Builder
- Enclosing class:
DescribeStateMachineForExecutionResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefinition
(String definition) The Amazon States Language definition of the state machine.A user-defined or an auto-generated string that identifies aMap
state.loggingConfiguration
(Consumer<LoggingConfiguration.Builder> loggingConfiguration) Sets the value of the LoggingConfiguration property for this object.loggingConfiguration
(LoggingConfiguration loggingConfiguration) Sets the value of the LoggingConfiguration property for this object.The Amazon Resource Name (ARN) of the Map Run that started the child workflow execution.The name of the state machine associated with the execution.revisionId
(String revisionId) The revision identifier for the state machine.The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution.stateMachineArn
(String stateMachineArn) The Amazon Resource Name (ARN) of the state machine associated with the execution.tracingConfiguration
(Consumer<TracingConfiguration.Builder> tracingConfiguration) Selects whether X-Ray tracing is enabled.tracingConfiguration
(TracingConfiguration tracingConfiguration) Selects whether X-Ray tracing is enabled.updateDate
(Instant updateDate) The date and time the state machine associated with an execution was updated.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
stateMachineArn
The Amazon Resource Name (ARN) of the state machine associated with the execution.
- Parameters:
stateMachineArn
- The Amazon Resource Name (ARN) of the state machine associated with the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the state machine associated with the execution.
- Parameters:
name
- The name of the state machine associated with the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role of the State Machine for the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateDate
The date and time the state machine associated with an execution was updated. For a newly created state machine, this is the creation date.
- Parameters:
updateDate
- The date and time the state machine associated with an execution was updated. For a newly created state machine, this is the creation date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
DescribeStateMachineForExecutionResponse.Builder loggingConfiguration(LoggingConfiguration loggingConfiguration) Sets the value of the LoggingConfiguration property for this object.- Parameters:
loggingConfiguration
- The new value for the LoggingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default DescribeStateMachineForExecutionResponse.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) Sets the value of the LoggingConfiguration property for this object. This is a convenience method that creates an instance of theLoggingConfiguration.Builder
avoiding the need to create one manually viaLoggingConfiguration.builder()
.When the
Consumer
completes,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:
-
tracingConfiguration
DescribeStateMachineForExecutionResponse.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 DescribeStateMachineForExecutionResponse.Builder tracingConfiguration(Consumer<TracingConfiguration.Builder> tracingConfiguration) Selects whether X-Ray tracing is enabled.
This is a convenience method that creates an instance of theTracingConfiguration.Builder
avoiding the need to create one manually viaTracingConfiguration.builder()
.When the
Consumer
completes,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:
-
mapRunArn
The Amazon Resource Name (ARN) of the Map Run that started the child workflow execution. This field is returned only if the
executionArn
is a child workflow execution that was started by a Distributed Map state.- Parameters:
mapRunArn
- The Amazon Resource Name (ARN) of the Map Run that started the child workflow execution. This field is returned only if theexecutionArn
is a child workflow execution that was started by a Distributed Map state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
A user-defined or an auto-generated string that identifies a
Map
state. This field is returned only if theexecutionArn
is a child workflow execution that was started by a Distributed Map state.- Parameters:
label
- A user-defined or an auto-generated string that identifies aMap
state. This field is returned only if theexecutionArn
is a child workflow execution that was started by a Distributed Map state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The revision identifier for the state machine. The first revision ID when you create the state machine is null.
Use the state machine
revisionId
parameter to compare the revision of a state machine with the configuration of the state machine used for executions without performing a diff of the properties, such asdefinition
androleArn
.- Parameters:
revisionId
- The revision identifier for the state machine. The first revision ID when you create the state machine is null.Use the state machine
revisionId
parameter to compare the revision of a state machine with the configuration of the state machine used for executions without performing a diff of the properties, such asdefinition
androleArn
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-