public static interface Runbook.Builder extends SdkPojo, CopyableBuilder<Runbook.Builder,Runbook>
Modifier and Type | Method and Description |
---|---|
Runbook.Builder |
documentName(String documentName)
The name of the Automation runbook (Automation document) used in a runbook workflow.
|
Runbook.Builder |
documentVersion(String documentVersion)
The version of the Automation runbook (Automation document) used in a runbook workflow.
|
Runbook.Builder |
maxConcurrency(String 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. |
Runbook.Builder |
maxErrors(String 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. |
Runbook.Builder |
parameters(Map<String,? extends Collection<String>> parameters)
The key-value map of execution parameters, which were supplied when calling
StartChangeRequestExecution . |
Runbook.Builder |
targetLocations(Collection<TargetLocation> targetLocations)
Information about the AWS Regions and accounts targeted by the current Runbook operation.
|
Runbook.Builder |
targetLocations(Consumer<TargetLocation.Builder>... targetLocations)
Information about the AWS Regions and accounts targeted by the current Runbook operation.
|
Runbook.Builder |
targetLocations(TargetLocation... targetLocations)
Information about the AWS Regions and accounts targeted by the current Runbook operation.
|
Runbook.Builder |
targetParameterName(String targetParameterName)
The name of the parameter used as the target resource for the rate-controlled runbook workflow.
|
Runbook.Builder |
targets(Collection<Target> targets)
A key-value mapping to target resources that the Runbook operation performs tasks on.
|
Runbook.Builder |
targets(Consumer<Target.Builder>... targets)
A key-value mapping to target resources that the Runbook operation performs tasks on.
|
Runbook.Builder |
targets(Target... targets)
A key-value mapping to target resources that the Runbook operation performs tasks on.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Runbook.Builder documentName(String documentName)
The name of the Automation runbook (Automation document) used in a runbook workflow.
documentName
- The name of the Automation runbook (Automation document) used in a runbook workflow.Runbook.Builder documentVersion(String documentVersion)
The version of the Automation runbook (Automation document) used in a runbook workflow.
documentVersion
- The version of the Automation runbook (Automation document) used in a runbook workflow.Runbook.Builder parameters(Map<String,? extends Collection<String>> parameters)
The key-value map of execution parameters, which were supplied when calling
StartChangeRequestExecution
.
parameters
- The key-value map of execution parameters, which were supplied when calling
StartChangeRequestExecution
.Runbook.Builder targetParameterName(String targetParameterName)
The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if
you specify Targets
.
targetParameterName
- The name of the parameter used as the target resource for the rate-controlled runbook workflow.
Required if you specify Targets
.Runbook.Builder targets(Collection<Target> targets)
A key-value mapping to target resources that the Runbook operation performs tasks on. Required if you specify
TargetParameterName
.
targets
- A key-value mapping to target resources that the Runbook operation performs tasks on. Required if you
specify TargetParameterName
.Runbook.Builder targets(Target... targets)
A key-value mapping to target resources that the Runbook operation performs tasks on. Required if you specify
TargetParameterName
.
targets
- A key-value mapping to target resources that the Runbook operation performs tasks on. Required if you
specify TargetParameterName
.Runbook.Builder targets(Consumer<Target.Builder>... targets)
A key-value mapping to target resources that the Runbook operation performs tasks on. Required if you specify
TargetParameterName
.
List.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 #targets(List)
.targets
- a consumer that will call methods on List.Builder
#targets(List)
Runbook.Builder maxConcurrency(String 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.
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.Runbook.Builder maxErrors(String 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.
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.Runbook.Builder targetLocations(Collection<TargetLocation> targetLocations)
Information about the AWS Regions and accounts targeted by the current Runbook operation.
targetLocations
- Information about the AWS Regions and accounts targeted by the current Runbook operation.Runbook.Builder targetLocations(TargetLocation... targetLocations)
Information about the AWS Regions and accounts targeted by the current Runbook operation.
targetLocations
- Information about the AWS Regions and accounts targeted by the current Runbook operation.Runbook.Builder targetLocations(Consumer<TargetLocation.Builder>... targetLocations)
Information about the AWS Regions and accounts targeted by the current Runbook operation.
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 #targetLocations(List)
.targetLocations
- a consumer that will call methods on List.Builder
#targetLocations(List)
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.