Interface DescribeStateMachineResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeStateMachineResponse.Builder,
,DescribeStateMachineResponse> SdkBuilder<DescribeStateMachineResponse.Builder,
,DescribeStateMachineResponse> SdkPojo
,SdkResponse.Builder
,SfnResponse.Builder
- Enclosing class:
DescribeStateMachineResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate
(Instant creationDate) The date the state machine is created.definition
(String definition) The Amazon States Language definition of the state machine.description
(String description) The description of the state machine version.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 name of the state machine.revisionId
(String revisionId) The revision identifier for the state machine.The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.stateMachineArn
(String stateMachineArn) The Amazon Resource Name (ARN) that identifies the state machine.The current status of the state machine.status
(StateMachineStatus status) The current status of the state machine.tracingConfiguration
(Consumer<TracingConfiguration.Builder> tracingConfiguration) Selects whether X-Ray tracing is enabled.tracingConfiguration
(TracingConfiguration tracingConfiguration) Selects whether X-Ray tracing is enabled.Thetype
of the state machine (STANDARD
orEXPRESS
).type
(StateMachineType type) Thetype
of the state machine (STANDARD
orEXPRESS
).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) that identifies the state machine.
If you specified a state machine version ARN in your request, the API returns the version ARN. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1
.- Parameters:
stateMachineArn
- The Amazon Resource Name (ARN) that identifies the state machine.If you specified a state machine version ARN in your request, the API returns the version ARN. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
-
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.
- See Also:
-
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.
- See Also:
-
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 used when creating this state machine. (The IAM role maintains security by granting Step Functions access to Amazon Web Services resources.)
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role used when creating this state machine. (The IAM role maintains security by granting Step Functions access to Amazon Web Services resources.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The
type
of the state machine (STANDARD
orEXPRESS
).- Parameters:
type
- Thetype
of the state machine (STANDARD
orEXPRESS
).- 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
orEXPRESS
).- Parameters:
type
- Thetype
of the state machine (STANDARD
orEXPRESS
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The date the state machine is created.
For a state machine version,
creationDate
is the date the version was created.- Parameters:
creationDate
- The date the state machine is created.For a state machine version,
creationDate
is the date the version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
DescribeStateMachineResponse.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 DescribeStateMachineResponse.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
DescribeStateMachineResponse.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 DescribeStateMachineResponse.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:
-
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.
-
revisionId
The revision identifier for the state machine.
Use the
revisionId
parameter to compare between versions of a state machine configuration used for executions without performing a diff of the properties, such asdefinition
androleArn
.- Parameters:
revisionId
- The revision identifier for the state machine.Use the
revisionId
parameter to compare between versions of a state machine configuration 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.
-
description
The description of the state machine version.
- Parameters:
description
- The description of the state machine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-