@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 |
associationId()
The ID of a State Manager association used in the Automation operation.
|
String |
automationExecutionId()
The execution ID.
|
AutomationExecutionStatus |
automationExecutionStatus()
The execution status of the Automation.
|
String |
automationExecutionStatusAsString()
The execution status of the Automation.
|
AutomationSubtype |
automationSubtype()
The subtype of the Automation operation.
|
String |
automationSubtypeAsString()
The subtype of the Automation operation.
|
static AutomationExecution.Builder |
builder() |
String |
changeRequestName()
The name of the Change Manager change request.
|
String |
currentAction()
The action of the step that is currently running.
|
String |
currentStepName()
The name of the step that is currently running.
|
String |
documentName()
The name of the Automation runbook used during the execution.
|
String |
documentVersion()
The version of the document to use during execution.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executedBy()
The Amazon Resource Name (ARN) of the user who ran 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() |
boolean |
hasOutputs()
For responses, this returns true if the service returned a value for the Outputs property.
|
boolean |
hasParameters()
For responses, this returns true if the service returned a value for the Parameters property.
|
boolean |
hasRunbooks()
For responses, this returns true if the service returned a value for the Runbooks property.
|
boolean |
hasStepExecutions()
For responses, this returns true if the service returned a value for the StepExecutions property.
|
boolean |
hasTargetLocations()
For responses, this returns true if the service returned a value for the TargetLocations property.
|
boolean |
hasTargetMaps()
For responses, this returns true if the service returned a value for the TargetMaps property.
|
boolean |
hasTargets()
For responses, this returns true if the service returned a value for the Targets property.
|
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.
|
String |
opsItemId()
The ID of an OpsItem that is created to represent a Change Manager change request.
|
Map<String,List<String>> |
outputs()
The list of execution outputs as defined in the Automation runbook.
|
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 Amazon Web Services Systems Manager console for a
multi-Region and multi-account Automation execution.
|
ResolvedTargets |
resolvedTargets()
A list of resolved targets in the rate control execution.
|
List<Runbook> |
runbooks()
Information about the Automation runbooks that are run as part of a runbook workflow.
|
Instant |
scheduledTime()
The date and time the Automation operation is scheduled to start.
|
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 Amazon Web Services Regions and/or Amazon Web Services accounts where you want to run 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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String automationExecutionId()
The execution ID.
public final String documentName()
The name of the Automation runbook used during the execution.
public final String documentVersion()
The version of the document to use during execution.
public final Instant executionStartTime()
The time the execution started.
public final Instant executionEndTime()
The time the execution finished.
public final 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().
AutomationExecutionStatuspublic final 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().
AutomationExecutionStatuspublic final boolean hasStepExecutions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<StepExecution> stepExecutions()
A list of details about the current state of all steps that comprise an execution. An Automation runbook contains a list of steps that are run in order.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStepExecutions() method.
public final 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 operation to get the full list of step executions.
public final boolean hasParameters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParameters() method.
public final boolean hasOutputs()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final Map<String,List<String>> outputs()
The list of execution outputs as defined in the Automation runbook.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOutputs() method.
public final String failureMessage()
A message describing why an execution has failed, if the status is set to Failed.
public final 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().
ExecutionModepublic final 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().
ExecutionModepublic final String parentAutomationExecutionId()
The AutomationExecutionId of the parent automation.
public final String executedBy()
The Amazon Resource Name (ARN) of the user who ran the automation.
public final String currentStepName()
The name of the step that is currently running.
public final String currentAction()
The action of the step that is currently running.
public final String targetParameterName()
The parameter name.
public final boolean hasTargets()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Target> targets()
The specified targets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargets() method.
public final boolean hasTargetMaps()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargetMaps() method.
public final ResolvedTargets resolvedTargets()
A list of resolved targets in the rate control execution.
public final String maxConcurrency()
The MaxConcurrency value specified by the user when the execution started.
MaxConcurrency value specified by the user when the execution started.public final String maxErrors()
The MaxErrors value specified by the user when the execution started.
public final String target()
The target of the execution.
public final boolean hasTargetLocations()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<TargetLocation> targetLocations()
The combination of Amazon Web Services Regions and/or Amazon Web Services accounts where you want to run the Automation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargetLocations() method.
public final ProgressCounters progressCounters()
An aggregate of step execution statuses displayed in the Amazon Web Services Systems Manager console for a multi-Region and multi-account Automation execution.
public final AutomationSubtype automationSubtype()
The subtype of the Automation operation. Currently, the only supported value is ChangeRequest.
If the service returns an enum value that is not available in the current SDK version, automationSubtype
will return AutomationSubtype.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from automationSubtypeAsString().
ChangeRequest.AutomationSubtypepublic final String automationSubtypeAsString()
The subtype of the Automation operation. Currently, the only supported value is ChangeRequest.
If the service returns an enum value that is not available in the current SDK version, automationSubtype
will return AutomationSubtype.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from automationSubtypeAsString().
ChangeRequest.AutomationSubtypepublic final Instant scheduledTime()
The date and time the Automation operation is scheduled to start.
public final boolean hasRunbooks()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Runbook> runbooks()
Information about the Automation runbooks that are run as part of a runbook workflow.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRunbooks() method.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
public final String opsItemId()
The ID of an OpsItem that is created to represent a Change Manager change request.
public final String associationId()
The ID of a State Manager association used in the Automation operation.
public final String changeRequestName()
The name of the Change Manager change request.
public AutomationExecution.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AutomationExecution.Builder,AutomationExecution>public static AutomationExecution.Builder builder()
public static Class<? extends AutomationExecution.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.