Interface Runbook.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Runbook.Builder,
,Runbook> SdkBuilder<Runbook.Builder,
,Runbook> SdkPojo
- Enclosing class:
Runbook
-
Method Summary
Modifier and TypeMethodDescriptiondocumentName
(String documentName) The name of the Automation runbook used in a runbook workflow.documentVersion
(String documentVersion) The version of the Automation runbook used in a runbook workflow.maxConcurrency
(String maxConcurrency) TheMaxConcurrency
value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.TheMaxErrors
value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.parameters
(Map<String, ? extends Collection<String>> parameters) The key-value map of execution parameters, which were supplied when callingStartChangeRequestExecution
.targetLocations
(Collection<TargetLocation> targetLocations) Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.targetLocations
(Consumer<TargetLocation.Builder>... targetLocations) Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.targetLocations
(TargetLocation... targetLocations) Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.targetMaps
(Collection<? extends Map<String, ? extends Collection<String>>> targetMaps) A key-value mapping of runbook parameters to target resources.targetMaps
(Map<String, ? extends Collection<String>>... targetMaps) A key-value mapping of runbook parameters to target resources.targetParameterName
(String targetParameterName) The name of the parameter used as the target resource for the rate-controlled runbook workflow.targets
(Collection<Target> targets) A key-value mapping to target resources that the runbook operation performs tasks on.targets
(Consumer<Target.Builder>... targets) A key-value mapping to target resources that the runbook operation performs tasks on.A key-value mapping to target resources that the runbook operation performs tasks on.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 Details
-
documentName
The name of the Automation runbook used in a runbook workflow.
- Parameters:
documentName
- The name of the Automation runbook used in a runbook workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersion
The version of the Automation runbook used in a runbook workflow.
- Parameters:
documentVersion
- The version of the Automation runbook used in a runbook workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
The key-value map of execution parameters, which were supplied when calling
StartChangeRequestExecution
.- Parameters:
parameters
- The key-value map of execution parameters, which were supplied when callingStartChangeRequestExecution
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetParameterName
The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if you specify
Targets
.- Parameters:
targetParameterName
- The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if you specifyTargets
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify
TargetParameterName
.- Parameters:
targets
- A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specifyTargetParameterName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify
TargetParameterName
.- Parameters:
targets
- A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specifyTargetParameterName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify
This is a convenience method that creates an instance of theTargetParameterName
.Target.Builder
avoiding the need to create one manually viaTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(List<Target>)
.- 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:
-
targetMaps
Runbook.Builder targetMaps(Collection<? extends Map<String, ? extends Collection<String>>> targetMaps) A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.
- Parameters:
targetMaps
- A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetMaps
A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.
- Parameters:
targetMaps
- A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps can't be specified together.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxConcurrency
The
MaxConcurrency
value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.- Parameters:
maxConcurrency
- TheMaxConcurrency
value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxErrors
The
MaxErrors
value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.- Parameters:
maxErrors
- TheMaxErrors
value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLocations
Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.
- Parameters:
targetLocations
- Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLocations
Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.
- Parameters:
targetLocations
- Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLocations
Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.
This is a convenience method that creates an instance of theTargetLocation.Builder
avoiding the need to create one manually viaTargetLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetLocations(List<TargetLocation>)
.- Parameters:
targetLocations
- a consumer that will call methods onTargetLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-