@Generated(value="software.amazon.awssdk:codegen") public final class AutomationExecution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomationExecution.Builder,AutomationExecution>
Detailed information about the current state of an individual Automation execution.
Modifier and Type | Class and Description |
---|---|
static interface |
AutomationExecution.Builder |
Modifier and Type | Method and Description |
---|---|
String |
automationExecutionId()
The execution ID.
|
AutomationExecutionStatus |
automationExecutionStatus()
The execution status of the Automation.
|
String |
automationExecutionStatusAsString()
The execution status of the Automation.
|
static AutomationExecution.Builder |
builder() |
String |
currentAction()
The action of the currently executing step.
|
String |
currentStepName()
The name of the currently executing step.
|
String |
documentName()
The name of the Automation document used during the execution.
|
String |
documentVersion()
The version of the document to use during execution.
|
boolean |
equals(Object obj) |
String |
executedBy()
The Amazon Resource Name (ARN) of the user who executed the automation.
|
Instant |
executionEndTime()
The time the execution finished.
|
Instant |
executionStartTime()
The time the execution started.
|
String |
failureMessage()
A message describing why an execution has failed, if the status is set to Failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
maxConcurrency()
The MaxConcurrency value specified by the user when the execution started.
|
String |
maxErrors()
The MaxErrors value specified by the user when the execution started.
|
ExecutionMode |
mode()
The automation execution mode.
|
String |
modeAsString()
The automation execution mode.
|
Map<String,List<String>> |
outputs()
The list of execution outputs as defined in the automation document.
|
Map<String,List<String>> |
parameters()
The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
|
String |
parentAutomationExecutionId()
The AutomationExecutionId of the parent automation.
|
ProgressCounters |
progressCounters()
An aggregate of step execution statuses displayed in the AWS Console for a multi-Region and multi-account
Automation execution.
|
ResolvedTargets |
resolvedTargets()
A list of resolved targets in the rate control execution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutomationExecution.Builder> |
serializableBuilderClass() |
List<StepExecution> |
stepExecutions()
A list of details about the current state of all steps that comprise an execution.
|
Boolean |
stepExecutionsTruncated()
A boolean value that indicates if the response contains the full list of the Automation step executions.
|
String |
target()
The target of the execution.
|
List<TargetLocation> |
targetLocations()
The combination of AWS Regions and/or AWS accounts where you want to execute the Automation.
|
List<Map<String,List<String>>> |
targetMaps()
The specified key-value mapping of document parameters to target resources.
|
String |
targetParameterName()
The parameter name.
|
List<Target> |
targets()
The specified targets.
|
AutomationExecution.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String automationExecutionId()
The execution ID.
public String documentName()
The name of the Automation document used during the execution.
public String documentVersion()
The version of the document to use during execution.
public Instant executionStartTime()
The time the execution started.
public Instant executionEndTime()
The time the execution finished.
public AutomationExecutionStatus automationExecutionStatus()
The execution status of the Automation.
If the service returns an enum value that is not available in the current SDK version,
automationExecutionStatus
will return AutomationExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from automationExecutionStatusAsString()
.
AutomationExecutionStatus
public String automationExecutionStatusAsString()
The execution status of the Automation.
If the service returns an enum value that is not available in the current SDK version,
automationExecutionStatus
will return AutomationExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from automationExecutionStatusAsString()
.
AutomationExecutionStatus
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean stepExecutionsTruncated()
A boolean value that indicates if the response contains the full list of the Automation step executions. If true, use the DescribeAutomationStepExecutions API action to get the full list of step executions.
public Map<String,List<String>> parameters()
The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,List<String>> outputs()
The list of execution outputs as defined in the automation document.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String failureMessage()
A message describing why an execution has failed, if the status is set to Failed.
public ExecutionMode mode()
The automation execution mode.
If the service returns an enum value that is not available in the current SDK version, mode
will return
ExecutionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
modeAsString()
.
ExecutionMode
public String modeAsString()
The automation execution mode.
If the service returns an enum value that is not available in the current SDK version, mode
will return
ExecutionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
modeAsString()
.
ExecutionMode
public String parentAutomationExecutionId()
The AutomationExecutionId of the parent automation.
public String executedBy()
The Amazon Resource Name (ARN) of the user who executed the automation.
public String currentStepName()
The name of the currently executing step.
public String currentAction()
The action of the currently executing step.
public String targetParameterName()
The parameter name.
public List<Target> targets()
The specified targets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Map<String,List<String>>> targetMaps()
The specified key-value mapping of document parameters to target resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ResolvedTargets resolvedTargets()
A list of resolved targets in the rate control execution.
public String maxConcurrency()
The MaxConcurrency value specified by the user when the execution started.
public String maxErrors()
The MaxErrors value specified by the user when the execution started.
public String target()
The target of the execution.
public List<TargetLocation> targetLocations()
The combination of AWS Regions and/or AWS accounts where you want to execute the Automation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ProgressCounters progressCounters()
An aggregate of step execution statuses displayed in the AWS Console for a multi-Region and multi-account Automation execution.
public AutomationExecution.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AutomationExecution.Builder,AutomationExecution>
public static AutomationExecution.Builder builder()
public static Class<? extends AutomationExecution.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.