@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutomationExecution extends Object implements Serializable, Cloneable, StructuredPojo
Detailed information about the current state of an individual Automation execution.
Constructor and Description |
---|
AutomationExecution() |
Modifier and Type | Method and Description |
---|---|
AutomationExecution |
addOutputsEntry(String key,
List<String> value) |
AutomationExecution |
addParametersEntry(String key,
List<String> value) |
AutomationExecution |
clearOutputsEntries()
Removes all the entries added into Outputs.
|
AutomationExecution |
clearParametersEntries()
Removes all the entries added into Parameters.
|
AutomationExecution |
clone() |
boolean |
equals(Object obj) |
String |
getAutomationExecutionId()
The execution ID.
|
String |
getAutomationExecutionStatus()
The execution status of the Automation.
|
String |
getDocumentName()
The name of the Automation document used during the execution.
|
String |
getDocumentVersion()
The version of the document to use during execution.
|
Date |
getExecutionEndTime()
The time the execution finished.
|
Date |
getExecutionStartTime()
The time the execution started.
|
String |
getFailureMessage()
A message describing why an execution has failed, if the status is set to Failed.
|
Map<String,List<String>> |
getOutputs()
The list of execution outputs as defined in the automation document.
|
Map<String,List<String>> |
getParameters()
The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
|
List<StepExecution> |
getStepExecutions()
A list of details about the current state of all steps that comprise an execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutomationExecutionId(String automationExecutionId)
The execution ID.
|
void |
setAutomationExecutionStatus(AutomationExecutionStatus automationExecutionStatus)
The execution status of the Automation.
|
void |
setAutomationExecutionStatus(String automationExecutionStatus)
The execution status of the Automation.
|
void |
setDocumentName(String documentName)
The name of the Automation document used during the execution.
|
void |
setDocumentVersion(String documentVersion)
The version of the document to use during execution.
|
void |
setExecutionEndTime(Date executionEndTime)
The time the execution finished.
|
void |
setExecutionStartTime(Date executionStartTime)
The time the execution started.
|
void |
setFailureMessage(String failureMessage)
A message describing why an execution has failed, if the status is set to Failed.
|
void |
setOutputs(Map<String,List<String>> outputs)
The list of execution outputs as defined in the automation document.
|
void |
setParameters(Map<String,List<String>> parameters)
The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
|
void |
setStepExecutions(Collection<StepExecution> stepExecutions)
A list of details about the current state of all steps that comprise an execution.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AutomationExecution |
withAutomationExecutionId(String automationExecutionId)
The execution ID.
|
AutomationExecution |
withAutomationExecutionStatus(AutomationExecutionStatus automationExecutionStatus)
The execution status of the Automation.
|
AutomationExecution |
withAutomationExecutionStatus(String automationExecutionStatus)
The execution status of the Automation.
|
AutomationExecution |
withDocumentName(String documentName)
The name of the Automation document used during the execution.
|
AutomationExecution |
withDocumentVersion(String documentVersion)
The version of the document to use during execution.
|
AutomationExecution |
withExecutionEndTime(Date executionEndTime)
The time the execution finished.
|
AutomationExecution |
withExecutionStartTime(Date executionStartTime)
The time the execution started.
|
AutomationExecution |
withFailureMessage(String failureMessage)
A message describing why an execution has failed, if the status is set to Failed.
|
AutomationExecution |
withOutputs(Map<String,List<String>> outputs)
The list of execution outputs as defined in the automation document.
|
AutomationExecution |
withParameters(Map<String,List<String>> parameters)
The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
|
AutomationExecution |
withStepExecutions(Collection<StepExecution> stepExecutions)
A list of details about the current state of all steps that comprise an execution.
|
AutomationExecution |
withStepExecutions(StepExecution... stepExecutions)
A list of details about the current state of all steps that comprise an execution.
|
public void setAutomationExecutionId(String automationExecutionId)
The execution ID.
automationExecutionId
- The execution ID.public String getAutomationExecutionId()
The execution ID.
public AutomationExecution withAutomationExecutionId(String automationExecutionId)
The execution ID.
automationExecutionId
- The execution ID.public void setDocumentName(String documentName)
The name of the Automation document used during the execution.
documentName
- The name of the Automation document used during the execution.public String getDocumentName()
The name of the Automation document used during the execution.
public AutomationExecution withDocumentName(String documentName)
The name of the Automation document used during the execution.
documentName
- The name of the Automation document used during the execution.public void setDocumentVersion(String documentVersion)
The version of the document to use during execution.
documentVersion
- The version of the document to use during execution.public String getDocumentVersion()
The version of the document to use during execution.
public AutomationExecution withDocumentVersion(String documentVersion)
The version of the document to use during execution.
documentVersion
- The version of the document to use during execution.public void setExecutionStartTime(Date executionStartTime)
The time the execution started.
executionStartTime
- The time the execution started.public Date getExecutionStartTime()
The time the execution started.
public AutomationExecution withExecutionStartTime(Date executionStartTime)
The time the execution started.
executionStartTime
- The time the execution started.public void setExecutionEndTime(Date executionEndTime)
The time the execution finished.
executionEndTime
- The time the execution finished.public Date getExecutionEndTime()
The time the execution finished.
public AutomationExecution withExecutionEndTime(Date executionEndTime)
The time the execution finished.
executionEndTime
- The time the execution finished.public void setAutomationExecutionStatus(String automationExecutionStatus)
The execution status of the Automation.
automationExecutionStatus
- The execution status of the Automation.AutomationExecutionStatus
public String getAutomationExecutionStatus()
The execution status of the Automation.
AutomationExecutionStatus
public AutomationExecution withAutomationExecutionStatus(String automationExecutionStatus)
The execution status of the Automation.
automationExecutionStatus
- The execution status of the Automation.AutomationExecutionStatus
public void setAutomationExecutionStatus(AutomationExecutionStatus automationExecutionStatus)
The execution status of the Automation.
automationExecutionStatus
- The execution status of the Automation.AutomationExecutionStatus
public AutomationExecution withAutomationExecutionStatus(AutomationExecutionStatus automationExecutionStatus)
The execution status of the Automation.
automationExecutionStatus
- The execution status of the Automation.AutomationExecutionStatus
public List<StepExecution> getStepExecutions()
A list of details about the current state of all steps that comprise an execution. An Automation document contains a list of steps that are executed in order.
public void setStepExecutions(Collection<StepExecution> stepExecutions)
A list of details about the current state of all steps that comprise an execution. An Automation document contains a list of steps that are executed in order.
stepExecutions
- A list of details about the current state of all steps that comprise an execution. An Automation document
contains a list of steps that are executed in order.public AutomationExecution withStepExecutions(StepExecution... stepExecutions)
A list of details about the current state of all steps that comprise an execution. An Automation document contains a list of steps that are executed in order.
NOTE: This method appends the values to the existing list (if any). Use
setStepExecutions(java.util.Collection)
or withStepExecutions(java.util.Collection)
if you want
to override the existing values.
stepExecutions
- A list of details about the current state of all steps that comprise an execution. An Automation document
contains a list of steps that are executed in order.public AutomationExecution withStepExecutions(Collection<StepExecution> stepExecutions)
A list of details about the current state of all steps that comprise an execution. An Automation document contains a list of steps that are executed in order.
stepExecutions
- A list of details about the current state of all steps that comprise an execution. An Automation document
contains a list of steps that are executed in order.public Map<String,List<String>> getParameters()
The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
public void setParameters(Map<String,List<String>> parameters)
The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
parameters
- The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.public AutomationExecution withParameters(Map<String,List<String>> parameters)
The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
parameters
- The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.public AutomationExecution addParametersEntry(String key, List<String> value)
public AutomationExecution clearParametersEntries()
public Map<String,List<String>> getOutputs()
The list of execution outputs as defined in the automation document.
public void setOutputs(Map<String,List<String>> outputs)
The list of execution outputs as defined in the automation document.
outputs
- The list of execution outputs as defined in the automation document.public AutomationExecution withOutputs(Map<String,List<String>> outputs)
The list of execution outputs as defined in the automation document.
outputs
- The list of execution outputs as defined in the automation document.public AutomationExecution addOutputsEntry(String key, List<String> value)
public AutomationExecution clearOutputsEntries()
public void setFailureMessage(String failureMessage)
A message describing why an execution has failed, if the status is set to Failed.
failureMessage
- A message describing why an execution has failed, if the status is set to Failed.public String getFailureMessage()
A message describing why an execution has failed, if the status is set to Failed.
public AutomationExecution withFailureMessage(String failureMessage)
A message describing why an execution has failed, if the status is set to Failed.
failureMessage
- A message describing why an execution has failed, if the status is set to Failed.public String toString()
toString
in class Object
Object.toString()
public AutomationExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.