Interface DescribeStateMachineResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse>,SdkBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse>,SdkPojo,SdkResponse.Builder,SfnResponse.Builder
- Enclosing class:
- DescribeStateMachineResponse
public static interface DescribeStateMachineResponse.Builder extends SfnResponse.Builder, SdkPojo, CopyableBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeStateMachineResponse.BuildercreationDate(Instant creationDate)The date the state machine is created.DescribeStateMachineResponse.Builderdefinition(String definition)The Amazon States Language definition of the state machine.DescribeStateMachineResponse.Builderdescription(String description)The description of the state machine version.DescribeStateMachineResponse.Builderlabel(String label)A user-defined or an auto-generated string that identifies aMapstate.default DescribeStateMachineResponse.BuilderloggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration)Sets the value of the LoggingConfiguration property for this object.DescribeStateMachineResponse.BuilderloggingConfiguration(LoggingConfiguration loggingConfiguration)Sets the value of the LoggingConfiguration property for this object.DescribeStateMachineResponse.Buildername(String name)The name of the state machine.DescribeStateMachineResponse.BuilderrevisionId(String revisionId)The revision identifier for the state machine.DescribeStateMachineResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.DescribeStateMachineResponse.BuilderstateMachineArn(String stateMachineArn)The Amazon Resource Name (ARN) that identifies the state machine.DescribeStateMachineResponse.Builderstatus(String status)The current status of the state machine.DescribeStateMachineResponse.Builderstatus(StateMachineStatus status)The current status of the state machine.default DescribeStateMachineResponse.BuildertracingConfiguration(Consumer<TracingConfiguration.Builder> tracingConfiguration)Selects whether X-Ray tracing is enabled.DescribeStateMachineResponse.BuildertracingConfiguration(TracingConfiguration tracingConfiguration)Selects whether X-Ray tracing is enabled.DescribeStateMachineResponse.Buildertype(String type)Thetypeof the state machine (STANDARDorEXPRESS).DescribeStateMachineResponse.Buildertype(StateMachineType type)Thetypeof the state machine (STANDARDorEXPRESS).-
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 Detail
-
stateMachineArn
DescribeStateMachineResponse.Builder stateMachineArn(String 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
DescribeStateMachineResponse.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.
-
-
status
DescribeStateMachineResponse.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.
- See Also:
StateMachineStatus,StateMachineStatus
-
status
DescribeStateMachineResponse.Builder status(StateMachineStatus 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:
StateMachineStatus,StateMachineStatus
-
definition
DescribeStateMachineResponse.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
DescribeStateMachineResponse.Builder roleArn(String 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
DescribeStateMachineResponse.Builder type(String type)
The
typeof the state machine (STANDARDorEXPRESS).- Parameters:
type- Thetypeof the state machine (STANDARDorEXPRESS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StateMachineType,StateMachineType
-
type
DescribeStateMachineResponse.Builder type(StateMachineType type)
The
typeof the state machine (STANDARDorEXPRESS).- Parameters:
type- Thetypeof the state machine (STANDARDorEXPRESS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StateMachineType,StateMachineType
-
creationDate
DescribeStateMachineResponse.Builder creationDate(Instant creationDate)
The date the state machine is created.
For a state machine version,
creationDateis the date the version was created.- Parameters:
creationDate- The date the state machine is created.For a state machine version,
creationDateis 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.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)
-
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.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)
-
label
DescribeStateMachineResponse.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.
-
revisionId
DescribeStateMachineResponse.Builder revisionId(String revisionId)
The revision identifier for the state machine.
Use the
revisionIdparameter to compare between versions of a state machine configuration used for executions without performing a diff of the properties, such asdefinitionandroleArn.- Parameters:
revisionId- The revision identifier for the state machine.Use the
revisionIdparameter to compare between versions of a state machine configuration used for executions without performing a diff of the properties, such asdefinitionandroleArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeStateMachineResponse.Builder description(String 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.
-
-