@Generated(value="software.amazon.awssdk:codegen") public final class DescribeExecutionResponse extends SfnResponse implements ToCopyableBuilder<DescribeExecutionResponse.Builder,DescribeExecutionResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeExecutionResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeExecutionResponse.Builder |
builder() |
boolean |
equals(Object obj) |
String |
executionArn()
The Amazon Resource Name (ARN) that identifies the execution.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
input()
The string that contains the JSON input data of the execution.
|
String |
name()
The name of the execution.
|
String |
output()
The JSON output data of the execution.
|
static Class<? extends DescribeExecutionResponse.Builder> |
serializableBuilderClass() |
Instant |
startDate()
The date the execution is started.
|
String |
stateMachineArn()
The Amazon Resource Name (ARN) of the executed stated machine.
|
ExecutionStatus |
status()
The current status of the execution.
|
String |
statusAsString()
The current status of the execution.
|
Instant |
stopDate()
If the execution has already ended, the date the execution stopped.
|
DescribeExecutionResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponse
copy
public String executionArn()
The Amazon Resource Name (ARN) that identifies the execution.
public String stateMachineArn()
The Amazon Resource Name (ARN) of the executed stated machine.
public String name()
The name of the execution.
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
A name must not contain:
whitespace
brackets < > { } [ ]
wildcard characters ? *
special characters " # % \ ^ | ~ ` $ & , ; : /
control characters (U+0000-001F
, U+007F-009F
)
public ExecutionStatus status()
The current status of the execution.
If the service returns an enum value that is not available in the current SDK version, status
will
return ExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
ExecutionStatus
public String statusAsString()
The current status of the execution.
If the service returns an enum value that is not available in the current SDK version, status
will
return ExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
ExecutionStatus
public Instant startDate()
The date the execution is started.
public Instant stopDate()
If the execution has already ended, the date the execution stopped.
public String input()
The string that contains the JSON input data of the execution.
public String output()
The JSON output data of the execution.
This field is set only if the execution succeeds. If the execution fails, this field is null.
This field is set only if the execution succeeds. If the execution fails, this field is null.
public DescribeExecutionResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeExecutionResponse.Builder,DescribeExecutionResponse>
toBuilder
in class AwsResponse
public static DescribeExecutionResponse.Builder builder()
public static Class<? extends DescribeExecutionResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.