public static interface TargetLocation.Builder extends SdkPojo, CopyableBuilder<TargetLocation.Builder,TargetLocation>
| Modifier and Type | Method and Description |
|---|---|
TargetLocation.Builder |
accounts(Collection<String> accounts)
The Amazon Web Services accounts targeted by the current Automation execution.
|
TargetLocation.Builder |
accounts(String... accounts)
The Amazon Web Services accounts targeted by the current Automation execution.
|
TargetLocation.Builder |
executionRoleName(String executionRoleName)
The Automation execution role used by the currently running Automation.
|
TargetLocation.Builder |
regions(Collection<String> regions)
The Amazon Web Services Regions targeted by the current Automation execution.
|
TargetLocation.Builder |
regions(String... regions)
The Amazon Web Services Regions targeted by the current Automation execution.
|
TargetLocation.Builder |
targetLocationAlarmConfiguration(AlarmConfiguration targetLocationAlarmConfiguration)
Sets the value of the TargetLocationAlarmConfiguration property for this object.
|
default TargetLocation.Builder |
targetLocationAlarmConfiguration(Consumer<AlarmConfiguration.Builder> targetLocationAlarmConfiguration)
Sets the value of the TargetLocationAlarmConfiguration property for this object.
|
TargetLocation.Builder |
targetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the
Automation concurrently.
|
TargetLocation.Builder |
targetLocationMaxErrors(String targetLocationMaxErrors)
The maximum number of errors allowed before the system stops queueing additional Automation executions for
the currently running Automation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTargetLocation.Builder accounts(Collection<String> accounts)
The Amazon Web Services accounts targeted by the current Automation execution.
accounts - The Amazon Web Services accounts targeted by the current Automation execution.TargetLocation.Builder accounts(String... accounts)
The Amazon Web Services accounts targeted by the current Automation execution.
accounts - The Amazon Web Services accounts targeted by the current Automation execution.TargetLocation.Builder regions(Collection<String> regions)
The Amazon Web Services Regions targeted by the current Automation execution.
regions - The Amazon Web Services Regions targeted by the current Automation execution.TargetLocation.Builder regions(String... regions)
The Amazon Web Services Regions targeted by the current Automation execution.
regions - The Amazon Web Services Regions targeted by the current Automation execution.TargetLocation.Builder targetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.
targetLocationMaxConcurrency - The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the
Automation concurrently.TargetLocation.Builder targetLocationMaxErrors(String targetLocationMaxErrors)
The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
targetLocationMaxErrors - The maximum number of errors allowed before the system stops queueing additional Automation executions
for the currently running Automation.TargetLocation.Builder executionRoleName(String executionRoleName)
The Automation execution role used by the currently running Automation. If not specified, the default value
is AWS-SystemsManager-AutomationExecutionRole.
executionRoleName - The Automation execution role used by the currently running Automation. If not specified, the default
value is AWS-SystemsManager-AutomationExecutionRole.TargetLocation.Builder targetLocationAlarmConfiguration(AlarmConfiguration targetLocationAlarmConfiguration)
targetLocationAlarmConfiguration - The new value for the TargetLocationAlarmConfiguration property for this object.default TargetLocation.Builder targetLocationAlarmConfiguration(Consumer<AlarmConfiguration.Builder> targetLocationAlarmConfiguration)
AlarmConfiguration.Builder avoiding the
need to create one manually via AlarmConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to targetLocationAlarmConfiguration(AlarmConfiguration).
targetLocationAlarmConfiguration - a consumer that will call methods on AlarmConfiguration.BuildertargetLocationAlarmConfiguration(AlarmConfiguration)Copyright © 2022. All rights reserved.