@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.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LoggingConfiguration |
loggingConfiguration()
Returns the value of the LoggingConfiguration property for this object.
|
String |
name()
The name of 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.
|
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 String stateMachineArn()
The Amazon Resource Name (ARN) that identifies the state machine.
public 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 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 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 String definition()
The Amazon States Language definition of the state machine. See Amazon States Language.
public 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 AWS resources.)
public 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 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 Instant creationDate()
The date the state machine is created.
public LoggingConfiguration loggingConfiguration()
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 int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.