Interface AutomationExecutionMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomationExecutionMetadata.Builder,AutomationExecutionMetadata>,SdkBuilder<AutomationExecutionMetadata.Builder,AutomationExecutionMetadata>,SdkPojo
- Enclosing class:
- AutomationExecutionMetadata
public static interface AutomationExecutionMetadata.Builder extends SdkPojo, CopyableBuilder<AutomationExecutionMetadata.Builder,AutomationExecutionMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutomationExecutionMetadata.BuilderalarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration)The details for the CloudWatch alarm applied to your automation.AutomationExecutionMetadata.BuilderalarmConfiguration(AlarmConfiguration alarmConfiguration)The details for the CloudWatch alarm applied to your automation.AutomationExecutionMetadata.BuilderassociationId(String associationId)The ID of a State Manager association used in the Automation operation.AutomationExecutionMetadata.BuilderautomationExecutionId(String automationExecutionId)The execution ID.AutomationExecutionMetadata.BuilderautomationExecutionStatus(String automationExecutionStatus)The status of the execution.AutomationExecutionMetadata.BuilderautomationExecutionStatus(AutomationExecutionStatus automationExecutionStatus)The status of the execution.AutomationExecutionMetadata.BuilderautomationSubtype(String automationSubtype)The subtype of the Automation operation.AutomationExecutionMetadata.BuilderautomationSubtype(AutomationSubtype automationSubtype)The subtype of the Automation operation.AutomationExecutionMetadata.BuilderautomationType(String automationType)Use this filter with DescribeAutomationExecutions.AutomationExecutionMetadata.BuilderautomationType(AutomationType automationType)Use this filter with DescribeAutomationExecutions.AutomationExecutionMetadata.BuilderchangeRequestName(String changeRequestName)The name of the Change Manager change request.AutomationExecutionMetadata.BuildercurrentAction(String currentAction)The action of the step that is currently running.AutomationExecutionMetadata.BuildercurrentStepName(String currentStepName)The name of the step that is currently running.AutomationExecutionMetadata.BuilderdocumentName(String documentName)The name of the Automation runbook used during execution.AutomationExecutionMetadata.BuilderdocumentVersion(String documentVersion)The document version used during the execution.AutomationExecutionMetadata.BuilderexecutedBy(String executedBy)The IAM role ARN of the user who ran the automation.AutomationExecutionMetadata.BuilderexecutionEndTime(Instant executionEndTime)The time the execution finished.AutomationExecutionMetadata.BuilderexecutionStartTime(Instant executionStartTime)The time the execution started.AutomationExecutionMetadata.BuilderfailureMessage(String failureMessage)The list of execution outputs as defined in the Automation runbook.AutomationExecutionMetadata.BuilderlogFile(String logFile)An S3 bucket where execution information is stored.AutomationExecutionMetadata.BuildermaxConcurrency(String maxConcurrency)TheMaxConcurrencyvalue specified by the user when starting the automation.AutomationExecutionMetadata.BuildermaxErrors(String maxErrors)TheMaxErrorsvalue specified by the user when starting the automation.AutomationExecutionMetadata.Buildermode(String mode)The Automation execution mode.AutomationExecutionMetadata.Buildermode(ExecutionMode mode)The Automation execution mode.AutomationExecutionMetadata.BuilderopsItemId(String opsItemId)The ID of an OpsItem that is created to represent a Change Manager change request.AutomationExecutionMetadata.Builderoutputs(Map<String,? extends Collection<String>> outputs)The list of execution outputs as defined in the Automation runbook.AutomationExecutionMetadata.BuilderparentAutomationExecutionId(String parentAutomationExecutionId)The execution ID of the parent automation.default AutomationExecutionMetadata.BuilderresolvedTargets(Consumer<ResolvedTargets.Builder> resolvedTargets)A list of targets that resolved during the execution.AutomationExecutionMetadata.BuilderresolvedTargets(ResolvedTargets resolvedTargets)A list of targets that resolved during the execution.AutomationExecutionMetadata.Builderrunbooks(Collection<Runbook> runbooks)Information about the Automation runbooks that are run during a runbook workflow in Change Manager.AutomationExecutionMetadata.Builderrunbooks(Consumer<Runbook.Builder>... runbooks)Information about the Automation runbooks that are run during a runbook workflow in Change Manager.AutomationExecutionMetadata.Builderrunbooks(Runbook... runbooks)Information about the Automation runbooks that are run during a runbook workflow in Change Manager.AutomationExecutionMetadata.BuilderscheduledTime(Instant scheduledTime)The date and time the Automation operation is scheduled to start.AutomationExecutionMetadata.Buildertarget(String target)The list of execution outputs as defined in the Automation runbook.AutomationExecutionMetadata.BuildertargetLocationsURL(String targetLocationsURL)A publicly accessible URL for a file that contains theTargetLocationsbody.AutomationExecutionMetadata.BuildertargetMaps(Collection<? extends Map<String,? extends Collection<String>>> targetMaps)The specified key-value mapping of document parameters to target resources.AutomationExecutionMetadata.BuildertargetMaps(Map<String,? extends Collection<String>>... targetMaps)The specified key-value mapping of document parameters to target resources.AutomationExecutionMetadata.BuildertargetParameterName(String targetParameterName)The list of execution outputs as defined in the Automation runbook.AutomationExecutionMetadata.Buildertargets(Collection<Target> targets)The targets defined by the user when starting the automation.AutomationExecutionMetadata.Buildertargets(Consumer<Target.Builder>... targets)The targets defined by the user when starting the automation.AutomationExecutionMetadata.Buildertargets(Target... targets)The targets defined by the user when starting the automation.AutomationExecutionMetadata.BuildertriggeredAlarms(Collection<AlarmStateInformation> triggeredAlarms)The CloudWatch alarm that was invoked by the automation.AutomationExecutionMetadata.BuildertriggeredAlarms(Consumer<AlarmStateInformation.Builder>... triggeredAlarms)The CloudWatch alarm that was invoked by the automation.AutomationExecutionMetadata.BuildertriggeredAlarms(AlarmStateInformation... triggeredAlarms)The CloudWatch alarm that was invoked by the automation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
automationExecutionId
AutomationExecutionMetadata.Builder automationExecutionId(String automationExecutionId)
The execution ID.
- Parameters:
automationExecutionId- The execution ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentName
AutomationExecutionMetadata.Builder documentName(String documentName)
The name of the Automation runbook used during execution.
- Parameters:
documentName- The name of the Automation runbook used during execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersion
AutomationExecutionMetadata.Builder documentVersion(String documentVersion)
The document version used during the execution.
- Parameters:
documentVersion- The document version used during the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationExecutionStatus
AutomationExecutionMetadata.Builder automationExecutionStatus(String automationExecutionStatus)
The status of the execution.
- Parameters:
automationExecutionStatus- The status of the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomationExecutionStatus,AutomationExecutionStatus
-
automationExecutionStatus
AutomationExecutionMetadata.Builder automationExecutionStatus(AutomationExecutionStatus automationExecutionStatus)
The status of the execution.
- Parameters:
automationExecutionStatus- The status of the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomationExecutionStatus,AutomationExecutionStatus
-
executionStartTime
AutomationExecutionMetadata.Builder executionStartTime(Instant executionStartTime)
The time the execution started.
- Parameters:
executionStartTime- The time the execution started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionEndTime
AutomationExecutionMetadata.Builder executionEndTime(Instant executionEndTime)
The time the execution finished. This isn't populated if the execution is still in progress.
- Parameters:
executionEndTime- The time the execution finished. This isn't populated if the execution is still in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executedBy
AutomationExecutionMetadata.Builder executedBy(String executedBy)
The IAM role ARN of the user who ran the automation.
- Parameters:
executedBy- The IAM role ARN of the user who ran the automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logFile
AutomationExecutionMetadata.Builder logFile(String logFile)
An S3 bucket where execution information is stored.
- Parameters:
logFile- An S3 bucket where execution information is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
AutomationExecutionMetadata.Builder outputs(Map<String,? extends Collection<String>> outputs)
The list of execution outputs as defined in the Automation runbook.
- Parameters:
outputs- The list of execution outputs as defined in the Automation runbook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
AutomationExecutionMetadata.Builder mode(String mode)
The Automation execution mode.
- Parameters:
mode- The Automation execution mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionMode,ExecutionMode
-
mode
AutomationExecutionMetadata.Builder mode(ExecutionMode mode)
The Automation execution mode.
- Parameters:
mode- The Automation execution mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutionMode,ExecutionMode
-
parentAutomationExecutionId
AutomationExecutionMetadata.Builder parentAutomationExecutionId(String parentAutomationExecutionId)
The execution ID of the parent automation.
- Parameters:
parentAutomationExecutionId- The execution ID of the parent automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentStepName
AutomationExecutionMetadata.Builder currentStepName(String currentStepName)
The name of the step that is currently running.
- Parameters:
currentStepName- The name of the step that is currently running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentAction
AutomationExecutionMetadata.Builder currentAction(String currentAction)
The action of the step that is currently running.
- Parameters:
currentAction- The action of the step that is currently running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureMessage
AutomationExecutionMetadata.Builder failureMessage(String failureMessage)
The list of execution outputs as defined in the Automation runbook.
- Parameters:
failureMessage- The list of execution outputs as defined in the Automation runbook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetParameterName
AutomationExecutionMetadata.Builder targetParameterName(String targetParameterName)
The list of execution outputs as defined in the Automation runbook.
- Parameters:
targetParameterName- The list of execution outputs as defined in the Automation runbook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
AutomationExecutionMetadata.Builder targets(Collection<Target> targets)
The targets defined by the user when starting the automation.
- Parameters:
targets- The targets defined by the user when starting the automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
AutomationExecutionMetadata.Builder targets(Target... targets)
The targets defined by the user when starting the automation.
- Parameters:
targets- The targets defined by the user when starting the automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
AutomationExecutionMetadata.Builder targets(Consumer<Target.Builder>... targets)
The targets defined by the user when starting the automation.
This is a convenience method that creates an instance of theTarget.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targets(List.) - Parameters:
targets- a consumer that will call methods onTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targets(java.util.Collection)
-
targetMaps
AutomationExecutionMetadata.Builder targetMaps(Collection<? extends Map<String,? extends Collection<String>>> targetMaps)
The specified key-value mapping of document parameters to target resources.
- Parameters:
targetMaps- The specified key-value mapping of document parameters to target resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetMaps
AutomationExecutionMetadata.Builder targetMaps(Map<String,? extends Collection<String>>... targetMaps)
The specified key-value mapping of document parameters to target resources.
- Parameters:
targetMaps- The specified key-value mapping of document parameters to target resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedTargets
AutomationExecutionMetadata.Builder resolvedTargets(ResolvedTargets resolvedTargets)
A list of targets that resolved during the execution.
- Parameters:
resolvedTargets- A list of targets that resolved during the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedTargets
default AutomationExecutionMetadata.Builder resolvedTargets(Consumer<ResolvedTargets.Builder> resolvedTargets)
A list of targets that resolved during the execution.
This is a convenience method that creates an instance of theResolvedTargets.Builderavoiding the need to create one manually viaResolvedTargets.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresolvedTargets(ResolvedTargets).- Parameters:
resolvedTargets- a consumer that will call methods onResolvedTargets.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resolvedTargets(ResolvedTargets)
-
maxConcurrency
AutomationExecutionMetadata.Builder maxConcurrency(String maxConcurrency)
The
MaxConcurrencyvalue specified by the user when starting the automation.- Parameters:
maxConcurrency- TheMaxConcurrencyvalue specified by the user when starting the automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxErrors
AutomationExecutionMetadata.Builder maxErrors(String maxErrors)
The
MaxErrorsvalue specified by the user when starting the automation.- Parameters:
maxErrors- TheMaxErrorsvalue specified by the user when starting the automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
AutomationExecutionMetadata.Builder target(String target)
The list of execution outputs as defined in the Automation runbook.
- Parameters:
target- The list of execution outputs as defined in the Automation runbook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationType
AutomationExecutionMetadata.Builder automationType(String automationType)
Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.
- Parameters:
automationType- Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomationType,AutomationType
-
automationType
AutomationExecutionMetadata.Builder automationType(AutomationType automationType)
Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.
- Parameters:
automationType- Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomationType,AutomationType
-
alarmConfiguration
AutomationExecutionMetadata.Builder alarmConfiguration(AlarmConfiguration alarmConfiguration)
The details for the CloudWatch alarm applied to your automation.
- Parameters:
alarmConfiguration- The details for the CloudWatch alarm applied to your automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarmConfiguration
default AutomationExecutionMetadata.Builder alarmConfiguration(Consumer<AlarmConfiguration.Builder> alarmConfiguration)
The details for the CloudWatch alarm applied to your automation.
This is a convenience method that creates an instance of theAlarmConfiguration.Builderavoiding the need to create one manually viaAlarmConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalarmConfiguration(AlarmConfiguration).- Parameters:
alarmConfiguration- a consumer that will call methods onAlarmConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
alarmConfiguration(AlarmConfiguration)
-
triggeredAlarms
AutomationExecutionMetadata.Builder triggeredAlarms(Collection<AlarmStateInformation> triggeredAlarms)
The CloudWatch alarm that was invoked by the automation.
- Parameters:
triggeredAlarms- The CloudWatch alarm that was invoked by the automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggeredAlarms
AutomationExecutionMetadata.Builder triggeredAlarms(AlarmStateInformation... triggeredAlarms)
The CloudWatch alarm that was invoked by the automation.
- Parameters:
triggeredAlarms- The CloudWatch alarm that was invoked by the automation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggeredAlarms
AutomationExecutionMetadata.Builder triggeredAlarms(Consumer<AlarmStateInformation.Builder>... triggeredAlarms)
The CloudWatch alarm that was invoked by the automation.
This is a convenience method that creates an instance of theAlarmStateInformation.Builderavoiding the need to create one manually viaAlarmStateInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#triggeredAlarms(List.) - Parameters:
triggeredAlarms- a consumer that will call methods onAlarmStateInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#triggeredAlarms(java.util.Collection)
-
targetLocationsURL
AutomationExecutionMetadata.Builder targetLocationsURL(String targetLocationsURL)
A publicly accessible URL for a file that contains the
TargetLocationsbody. Currently, only files in presigned Amazon S3 buckets are supported- Parameters:
targetLocationsURL- A publicly accessible URL for a file that contains theTargetLocationsbody. Currently, only files in presigned Amazon S3 buckets are supported- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationSubtype
AutomationExecutionMetadata.Builder automationSubtype(String automationSubtype)
The subtype of the Automation operation. Currently, the only supported value is
ChangeRequest.- Parameters:
automationSubtype- The subtype of the Automation operation. Currently, the only supported value isChangeRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomationSubtype,AutomationSubtype
-
automationSubtype
AutomationExecutionMetadata.Builder automationSubtype(AutomationSubtype automationSubtype)
The subtype of the Automation operation. Currently, the only supported value is
ChangeRequest.- Parameters:
automationSubtype- The subtype of the Automation operation. Currently, the only supported value isChangeRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomationSubtype,AutomationSubtype
-
scheduledTime
AutomationExecutionMetadata.Builder scheduledTime(Instant scheduledTime)
The date and time the Automation operation is scheduled to start.
- Parameters:
scheduledTime- The date and time the Automation operation is scheduled to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runbooks
AutomationExecutionMetadata.Builder runbooks(Collection<Runbook> runbooks)
Information about the Automation runbooks that are run during a runbook workflow in Change Manager.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Parameters:
runbooks- Information about the Automation runbooks that are run during a runbook workflow in Change Manager.The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runbooks
AutomationExecutionMetadata.Builder runbooks(Runbook... runbooks)
Information about the Automation runbooks that are run during a runbook workflow in Change Manager.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Parameters:
runbooks- Information about the Automation runbooks that are run during a runbook workflow in Change Manager.The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runbooks
AutomationExecutionMetadata.Builder runbooks(Consumer<Runbook.Builder>... runbooks)
Information about the Automation runbooks that are run during a runbook workflow in Change Manager.
This is a convenience method that creates an instance of theThe Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
Runbook.Builderavoiding the need to create one manually viaRunbook.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#runbooks(List.) - Parameters:
runbooks- a consumer that will call methods onRunbook.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#runbooks(java.util.Collection)
-
opsItemId
AutomationExecutionMetadata.Builder opsItemId(String opsItemId)
The ID of an OpsItem that is created to represent a Change Manager change request.
- Parameters:
opsItemId- The ID of an OpsItem that is created to represent a Change Manager change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationId
AutomationExecutionMetadata.Builder associationId(String associationId)
The ID of a State Manager association used in the Automation operation.
- Parameters:
associationId- The ID of a State Manager association used in the Automation operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeRequestName
AutomationExecutionMetadata.Builder changeRequestName(String changeRequestName)
The name of the Change Manager change request.
- Parameters:
changeRequestName- The name of the Change Manager change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-