@Generated(value="software.amazon.awssdk:codegen") public final class DescribeStateMachineResponse extends SfnResponse implements ToCopyableBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeStateMachineResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeStateMachineResponse.Builder |
builder() |
Instant |
creationDate()
The date the state machine is created.
|
String |
definition()
The Amazon States Language definition of the state machine.
|
String |
description()
The description of the state machine version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
label()
A user-defined or an auto-generated string that identifies a
Map state. |
LoggingConfiguration |
loggingConfiguration()
Returns the value of the LoggingConfiguration property for this object.
|
String |
name()
The name of the state machine.
|
String |
revisionId()
The revision identifier for the state machine.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the IAM role used when creating this state machine.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeStateMachineResponse.Builder> |
serializableBuilderClass() |
String |
stateMachineArn()
The Amazon Resource Name (ARN) that identifies the state machine.
|
StateMachineStatus |
status()
The current status of the state machine.
|
String |
statusAsString()
The current status of the state machine.
|
DescribeStateMachineResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TracingConfiguration |
tracingConfiguration()
Selects whether X-Ray tracing is enabled.
|
StateMachineType |
type()
The
type of the state machine (STANDARD or EXPRESS). |
String |
typeAsString()
The
type of the state machine (STANDARD or EXPRESS). |
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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.
public final 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 _.
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 _.
public final StateMachineStatus status()
The current status of the state machine.
If the service returns an enum value that is not available in the current SDK version, status will
return StateMachineStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StateMachineStatuspublic final String statusAsString()
The current status of the state machine.
If the service returns an enum value that is not available in the current SDK version, status will
return StateMachineStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StateMachineStatuspublic final String definition()
The Amazon States Language definition of the state machine. See Amazon States Language.
public final 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.)
public final StateMachineType type()
The type of the state machine (STANDARD or EXPRESS).
If the service returns an enum value that is not available in the current SDK version, type will return
StateMachineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
type of the state machine (STANDARD or EXPRESS).StateMachineTypepublic final String typeAsString()
The type of the state machine (STANDARD or EXPRESS).
If the service returns an enum value that is not available in the current SDK version, type will return
StateMachineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
type of the state machine (STANDARD or EXPRESS).StateMachineTypepublic final Instant creationDate()
The date the state machine is created.
For a state machine version, creationDate is the date the version was created.
For a state machine version, creationDate is the date the version was created.
public final LoggingConfiguration loggingConfiguration()
public final TracingConfiguration tracingConfiguration()
Selects whether X-Ray tracing is enabled.
public final String label()
A user-defined or an auto-generated string that identifies a Map state. This parameter is present
only if the stateMachineArn specified in input is a qualified state machine ARN.
Map state. This parameter is
present only if the stateMachineArn specified in input is a qualified state machine ARN.public final String 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 as definition and roleArn.
Use the revisionId parameter to compare between versions of a state machine configuration
used for executions without performing a diff of the properties, such as definition and
roleArn.
public final String description()
The description of the state machine version.
public DescribeStateMachineResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeStateMachineResponse.Builder,DescribeStateMachineResponse>toBuilder in class AwsResponsepublic static DescribeStateMachineResponse.Builder builder()
public static Class<? extends DescribeStateMachineResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.