@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeExecutionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeExecutionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeExecutionResult |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
The cause string if the state machine execution failed.
|
String |
getError()
The error string if the state machine execution failed.
|
String |
getExecutionArn()
The Amazon Resource Name (ARN) that identifies the execution.
|
String |
getInput()
The string that contains the JSON input data of the execution.
|
CloudWatchEventsExecutionDataDetails |
getInputDetails() |
String |
getMapRunArn()
The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.
|
String |
getName()
The name of the execution.
|
String |
getOutput()
The JSON output data of the execution.
|
CloudWatchEventsExecutionDataDetails |
getOutputDetails() |
Date |
getStartDate()
The date the execution is started.
|
String |
getStateMachineAliasArn()
The Amazon Resource Name (ARN) of the state machine alias associated with the execution.
|
String |
getStateMachineArn()
The Amazon Resource Name (ARN) of the executed stated machine.
|
String |
getStateMachineVersionArn()
The Amazon Resource Name (ARN) of the state machine version associated with the execution.
|
String |
getStatus()
The current status of the execution.
|
Date |
getStopDate()
If the execution ended, the date the execution stopped.
|
String |
getTraceHeader()
The X-Ray trace header that was passed to the execution.
|
int |
hashCode() |
void |
setCause(String cause)
The cause string if the state machine execution failed.
|
void |
setError(String error)
The error string if the state machine execution failed.
|
void |
setExecutionArn(String executionArn)
The Amazon Resource Name (ARN) that identifies the execution.
|
void |
setInput(String input)
The string that contains the JSON input data of the execution.
|
void |
setInputDetails(CloudWatchEventsExecutionDataDetails inputDetails) |
void |
setMapRunArn(String mapRunArn)
The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.
|
void |
setName(String name)
The name of the execution.
|
void |
setOutput(String output)
The JSON output data of the execution.
|
void |
setOutputDetails(CloudWatchEventsExecutionDataDetails outputDetails) |
void |
setStartDate(Date startDate)
The date the execution is started.
|
void |
setStateMachineAliasArn(String stateMachineAliasArn)
The Amazon Resource Name (ARN) of the state machine alias associated with the execution.
|
void |
setStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the executed stated machine.
|
void |
setStateMachineVersionArn(String stateMachineVersionArn)
The Amazon Resource Name (ARN) of the state machine version associated with the execution.
|
void |
setStatus(ExecutionStatus status)
The current status of the execution.
|
void |
setStatus(String status)
The current status of the execution.
|
void |
setStopDate(Date stopDate)
If the execution ended, the date the execution stopped.
|
void |
setTraceHeader(String traceHeader)
The X-Ray trace header that was passed to the execution.
|
String |
toString()
Returns a string representation of this object.
|
DescribeExecutionResult |
withCause(String cause)
The cause string if the state machine execution failed.
|
DescribeExecutionResult |
withError(String error)
The error string if the state machine execution failed.
|
DescribeExecutionResult |
withExecutionArn(String executionArn)
The Amazon Resource Name (ARN) that identifies the execution.
|
DescribeExecutionResult |
withInput(String input)
The string that contains the JSON input data of the execution.
|
DescribeExecutionResult |
withInputDetails(CloudWatchEventsExecutionDataDetails inputDetails) |
DescribeExecutionResult |
withMapRunArn(String mapRunArn)
The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.
|
DescribeExecutionResult |
withName(String name)
The name of the execution.
|
DescribeExecutionResult |
withOutput(String output)
The JSON output data of the execution.
|
DescribeExecutionResult |
withOutputDetails(CloudWatchEventsExecutionDataDetails outputDetails) |
DescribeExecutionResult |
withStartDate(Date startDate)
The date the execution is started.
|
DescribeExecutionResult |
withStateMachineAliasArn(String stateMachineAliasArn)
The Amazon Resource Name (ARN) of the state machine alias associated with the execution.
|
DescribeExecutionResult |
withStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the executed stated machine.
|
DescribeExecutionResult |
withStateMachineVersionArn(String stateMachineVersionArn)
The Amazon Resource Name (ARN) of the state machine version associated with the execution.
|
DescribeExecutionResult |
withStatus(ExecutionStatus status)
The current status of the execution.
|
DescribeExecutionResult |
withStatus(String status)
The current status of the execution.
|
DescribeExecutionResult |
withStopDate(Date stopDate)
If the execution ended, the date the execution stopped.
|
DescribeExecutionResult |
withTraceHeader(String traceHeader)
The X-Ray trace header that was passed to the execution.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setExecutionArn(String executionArn)
The Amazon Resource Name (ARN) that identifies the execution.
executionArn
- The Amazon Resource Name (ARN) that identifies the execution.public String getExecutionArn()
The Amazon Resource Name (ARN) that identifies the execution.
public DescribeExecutionResult withExecutionArn(String executionArn)
The Amazon Resource Name (ARN) that identifies the execution.
executionArn
- The Amazon Resource Name (ARN) that identifies the execution.public void setStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the executed stated machine.
stateMachineArn
- The Amazon Resource Name (ARN) of the executed stated machine.public String getStateMachineArn()
The Amazon Resource Name (ARN) of the executed stated machine.
public DescribeExecutionResult withStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the executed stated machine.
stateMachineArn
- The Amazon Resource Name (ARN) of the executed stated machine.public void setName(String name)
The name of the execution.
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 _.
name
- The name of the execution.
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 String getName()
The name of the execution.
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 DescribeExecutionResult withName(String name)
The name of the execution.
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 _.
name
- The name of the execution.
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 void setStatus(String status)
The current status of the execution.
status
- The current status of the execution.ExecutionStatus
public String getStatus()
The current status of the execution.
ExecutionStatus
public DescribeExecutionResult withStatus(String status)
The current status of the execution.
status
- The current status of the execution.ExecutionStatus
public void setStatus(ExecutionStatus status)
The current status of the execution.
status
- The current status of the execution.ExecutionStatus
public DescribeExecutionResult withStatus(ExecutionStatus status)
The current status of the execution.
status
- The current status of the execution.ExecutionStatus
public void setStartDate(Date startDate)
The date the execution is started.
startDate
- The date the execution is started.public Date getStartDate()
The date the execution is started.
public DescribeExecutionResult withStartDate(Date startDate)
The date the execution is started.
startDate
- The date the execution is started.public void setStopDate(Date stopDate)
If the execution ended, the date the execution stopped.
stopDate
- If the execution ended, the date the execution stopped.public Date getStopDate()
If the execution ended, the date the execution stopped.
public DescribeExecutionResult withStopDate(Date stopDate)
If the execution ended, the date the execution stopped.
stopDate
- If the execution ended, the date the execution stopped.public void setInput(String input)
The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
input
- The string that contains the JSON input data of the execution. Length constraints apply to the payload
size, and are expressed as bytes in UTF-8 encoding.public String getInput()
The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
public DescribeExecutionResult withInput(String input)
The string that contains the JSON input data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
input
- The string that contains the JSON input data of the execution. Length constraints apply to the payload
size, and are expressed as bytes in UTF-8 encoding.public void setInputDetails(CloudWatchEventsExecutionDataDetails inputDetails)
inputDetails
- public CloudWatchEventsExecutionDataDetails getInputDetails()
public DescribeExecutionResult withInputDetails(CloudWatchEventsExecutionDataDetails inputDetails)
inputDetails
- public void setOutput(String output)
The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
This field is set only if the execution succeeds. If the execution fails, this field is null.
output
- The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as
bytes in UTF-8 encoding. This field is set only if the execution succeeds. If the execution fails, this field is null.
public String getOutput()
The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
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 DescribeExecutionResult withOutput(String output)
The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
This field is set only if the execution succeeds. If the execution fails, this field is null.
output
- The JSON output data of the execution. Length constraints apply to the payload size, and are expressed as
bytes in UTF-8 encoding. This field is set only if the execution succeeds. If the execution fails, this field is null.
public void setOutputDetails(CloudWatchEventsExecutionDataDetails outputDetails)
outputDetails
- public CloudWatchEventsExecutionDataDetails getOutputDetails()
public DescribeExecutionResult withOutputDetails(CloudWatchEventsExecutionDataDetails outputDetails)
outputDetails
- public void setTraceHeader(String traceHeader)
The X-Ray trace header that was passed to the execution.
traceHeader
- The X-Ray trace header that was passed to the execution.public String getTraceHeader()
The X-Ray trace header that was passed to the execution.
public DescribeExecutionResult withTraceHeader(String traceHeader)
The X-Ray trace header that was passed to the execution.
traceHeader
- The X-Ray trace header that was passed to the execution.public void setMapRunArn(String mapRunArn)
The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.
mapRunArn
- The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.public String getMapRunArn()
The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.
public DescribeExecutionResult withMapRunArn(String mapRunArn)
The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.
mapRunArn
- The Amazon Resource Name (ARN) that identifies a Map Run, which dispatched this execution.public void setError(String error)
The error string if the state machine execution failed.
error
- The error string if the state machine execution failed.public String getError()
The error string if the state machine execution failed.
public DescribeExecutionResult withError(String error)
The error string if the state machine execution failed.
error
- The error string if the state machine execution failed.public void setCause(String cause)
The cause string if the state machine execution failed.
cause
- The cause string if the state machine execution failed.public String getCause()
The cause string if the state machine execution failed.
public DescribeExecutionResult withCause(String cause)
The cause string if the state machine execution failed.
cause
- The cause string if the state machine execution failed.public void setStateMachineVersionArn(String stateMachineVersionArn)
The Amazon Resource Name (ARN) of the state machine version associated with the execution. The version ARN is a
combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1
.
If you start an execution from a StartExecution
request without specifying a state machine version
or alias ARN, Step Functions returns a null value.
stateMachineVersionArn
- The Amazon Resource Name (ARN) of the state machine version associated with the execution. The version ARN
is a combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1
.
If you start an execution from a StartExecution
request without specifying a state machine
version or alias ARN, Step Functions returns a null value.
public String getStateMachineVersionArn()
The Amazon Resource Name (ARN) of the state machine version associated with the execution. The version ARN is a
combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1
.
If you start an execution from a StartExecution
request without specifying a state machine version
or alias ARN, Step Functions returns a null value.
stateMachineARN:1
.
If you start an execution from a StartExecution
request without specifying a state machine
version or alias ARN, Step Functions returns a null value.
public DescribeExecutionResult withStateMachineVersionArn(String stateMachineVersionArn)
The Amazon Resource Name (ARN) of the state machine version associated with the execution. The version ARN is a
combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1
.
If you start an execution from a StartExecution
request without specifying a state machine version
or alias ARN, Step Functions returns a null value.
stateMachineVersionArn
- The Amazon Resource Name (ARN) of the state machine version associated with the execution. The version ARN
is a combination of state machine ARN and the version number separated by a colon (:). For example,
stateMachineARN:1
.
If you start an execution from a StartExecution
request without specifying a state machine
version or alias ARN, Step Functions returns a null value.
public void setStateMachineAliasArn(String stateMachineAliasArn)
The Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is a
combination of state machine ARN and the alias name separated by a colon (:). For example,
stateMachineARN:PROD
.
If you start an execution from a StartExecution
request with a state machine version ARN, this field
will be null.
stateMachineAliasArn
- The Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is
a combination of state machine ARN and the alias name separated by a colon (:). For example,
stateMachineARN:PROD
.
If you start an execution from a StartExecution
request with a state machine version ARN,
this field will be null.
public String getStateMachineAliasArn()
The Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is a
combination of state machine ARN and the alias name separated by a colon (:). For example,
stateMachineARN:PROD
.
If you start an execution from a StartExecution
request with a state machine version ARN, this field
will be null.
stateMachineARN:PROD
.
If you start an execution from a StartExecution
request with a state machine version ARN,
this field will be null.
public DescribeExecutionResult withStateMachineAliasArn(String stateMachineAliasArn)
The Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is a
combination of state machine ARN and the alias name separated by a colon (:). For example,
stateMachineARN:PROD
.
If you start an execution from a StartExecution
request with a state machine version ARN, this field
will be null.
stateMachineAliasArn
- The Amazon Resource Name (ARN) of the state machine alias associated with the execution. The alias ARN is
a combination of state machine ARN and the alias name separated by a colon (:). For example,
stateMachineARN:PROD
.
If you start an execution from a StartExecution
request with a state machine version ARN,
this field will be null.
public String toString()
toString
in class Object
Object.toString()
public DescribeExecutionResult clone()