public static interface AutomationExecution.Builder extends CopyableBuilder<AutomationExecution.Builder,AutomationExecution>
Modifier and Type | Method and Description |
---|---|
AutomationExecution.Builder |
automationExecutionId(String automationExecutionId)
The execution ID.
|
AutomationExecution.Builder |
automationExecutionStatus(AutomationExecutionStatus automationExecutionStatus)
The execution status of the Automation.
|
AutomationExecution.Builder |
automationExecutionStatus(String automationExecutionStatus)
The execution status of the Automation.
|
AutomationExecution.Builder |
documentName(String documentName)
The name of the Automation document used during the execution.
|
AutomationExecution.Builder |
documentVersion(String documentVersion)
The version of the document to use during execution.
|
AutomationExecution.Builder |
executionEndTime(Instant executionEndTime)
The time the execution finished.
|
AutomationExecution.Builder |
executionStartTime(Instant executionStartTime)
The time the execution started.
|
AutomationExecution.Builder |
failureMessage(String failureMessage)
A message describing why an execution has failed, if the status is set to Failed.
|
AutomationExecution.Builder |
outputs(Map<String,? extends Collection<String>> outputs)
The list of execution outputs as defined in the automation document.
|
AutomationExecution.Builder |
parameters(Map<String,? extends Collection<String>> parameters)
The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.
|
AutomationExecution.Builder |
stepExecutions(Collection<StepExecution> stepExecutions)
A list of details about the current state of all steps that comprise an execution.
|
AutomationExecution.Builder |
stepExecutions(Consumer<StepExecution.Builder>... stepExecutions)
A list of details about the current state of all steps that comprise an execution.
|
AutomationExecution.Builder |
stepExecutions(StepExecution... stepExecutions)
A list of details about the current state of all steps that comprise an execution.
|
copy
applyMutation, build
AutomationExecution.Builder automationExecutionId(String automationExecutionId)
The execution ID.
automationExecutionId
- The execution ID.AutomationExecution.Builder documentName(String documentName)
The name of the Automation document used during the execution.
documentName
- The name of the Automation document used during the execution.AutomationExecution.Builder documentVersion(String documentVersion)
The version of the document to use during execution.
documentVersion
- The version of the document to use during execution.AutomationExecution.Builder executionStartTime(Instant executionStartTime)
The time the execution started.
executionStartTime
- The time the execution started.AutomationExecution.Builder executionEndTime(Instant executionEndTime)
The time the execution finished.
executionEndTime
- The time the execution finished.AutomationExecution.Builder automationExecutionStatus(String automationExecutionStatus)
The execution status of the Automation.
automationExecutionStatus
- The execution status of the Automation.AutomationExecutionStatus
,
AutomationExecutionStatus
AutomationExecution.Builder automationExecutionStatus(AutomationExecutionStatus automationExecutionStatus)
The execution status of the Automation.
automationExecutionStatus
- The execution status of the Automation.AutomationExecutionStatus
,
AutomationExecutionStatus
AutomationExecution.Builder stepExecutions(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.AutomationExecution.Builder stepExecutions(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.AutomationExecution.Builder stepExecutions(Consumer<StepExecution.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #stepExecutions(List)
.stepExecutions
- a consumer that will call methods on List.Builder
#stepExecutions(List)
AutomationExecution.Builder parameters(Map<String,? extends Collection<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.AutomationExecution.Builder outputs(Map<String,? extends Collection<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.AutomationExecution.Builder failureMessage(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.