@Generated(value="software.amazon.awssdk:codegen") public final class TargetLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetLocation.Builder,TargetLocation>
The combination of Regions and accounts targeted by the current Automation execution.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TargetLocation.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
accounts()
The accounts targeted by the current Automation execution.
|
static TargetLocation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionRoleName()
The Automation execution role used by the currently running Automation.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccounts()
Returns true if the Accounts property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRegions()
Returns true if the Regions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<String> |
regions()
The Regions targeted by the current Automation execution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TargetLocation.Builder> |
serializableBuilderClass() |
String |
targetLocationMaxConcurrency()
The maximum number of Regions and accounts allowed to run the Automation concurrently.
|
String |
targetLocationMaxErrors()
The maximum number of errors allowed before the system stops queueing additional Automation executions for the
currently running Automation.
|
TargetLocation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAccounts()
public final List<String> accounts()
The accounts targeted by the current Automation execution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAccounts() to see if a value was sent in this field.
public final boolean hasRegions()
public final List<String> regions()
The Regions targeted by the current Automation execution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRegions() to see if a value was sent in this field.
public final String targetLocationMaxConcurrency()
The maximum number of Regions and accounts allowed to run the Automation concurrently.
public final String targetLocationMaxErrors()
The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
public final String executionRoleName()
The Automation execution role used by the currently running Automation. If not specified, the default value is
AWS-SystemsManager-AutomationExecutionRole.
AWS-SystemsManager-AutomationExecutionRole.public TargetLocation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TargetLocation.Builder,TargetLocation>public static TargetLocation.Builder builder()
public static Class<? extends TargetLocation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.