@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetLocation extends Object implements Serializable, Cloneable, StructuredPojo
The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation execution.
Constructor and Description |
---|
TargetLocation() |
Modifier and Type | Method and Description |
---|---|
TargetLocation |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccounts()
The Amazon Web Services accounts targeted by the current Automation execution.
|
String |
getExecutionRoleName()
The Automation execution role used by the currently running Automation.
|
List<String> |
getRegions()
The Amazon Web Services Regions targeted by the current Automation execution.
|
String |
getTargetLocationMaxConcurrency()
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation
concurrently.
|
String |
getTargetLocationMaxErrors()
The maximum number of errors allowed before the system stops queueing additional Automation executions for the
currently running Automation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccounts(Collection<String> accounts)
The Amazon Web Services accounts targeted by the current Automation execution.
|
void |
setExecutionRoleName(String executionRoleName)
The Automation execution role used by the currently running Automation.
|
void |
setRegions(Collection<String> regions)
The Amazon Web Services Regions targeted by the current Automation execution.
|
void |
setTargetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation
concurrently.
|
void |
setTargetLocationMaxErrors(String targetLocationMaxErrors)
The maximum number of errors allowed before the system stops queueing additional Automation executions for the
currently running Automation.
|
String |
toString()
Returns a string representation of this object.
|
TargetLocation |
withAccounts(Collection<String> accounts)
The Amazon Web Services accounts targeted by the current Automation execution.
|
TargetLocation |
withAccounts(String... accounts)
The Amazon Web Services accounts targeted by the current Automation execution.
|
TargetLocation |
withExecutionRoleName(String executionRoleName)
The Automation execution role used by the currently running Automation.
|
TargetLocation |
withRegions(Collection<String> regions)
The Amazon Web Services Regions targeted by the current Automation execution.
|
TargetLocation |
withRegions(String... regions)
The Amazon Web Services Regions targeted by the current Automation execution.
|
TargetLocation |
withTargetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation
concurrently.
|
TargetLocation |
withTargetLocationMaxErrors(String targetLocationMaxErrors)
The maximum number of errors allowed before the system stops queueing additional Automation executions for the
currently running Automation.
|
public List<String> getAccounts()
The Amazon Web Services accounts targeted by the current Automation execution.
public void setAccounts(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.public TargetLocation withAccounts(String... accounts)
The Amazon Web Services accounts targeted by the current Automation execution.
NOTE: This method appends the values to the existing list (if any). Use
setAccounts(java.util.Collection)
or withAccounts(java.util.Collection)
if you want to override
the existing values.
accounts
- The Amazon Web Services accounts targeted by the current Automation execution.public TargetLocation withAccounts(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.public List<String> getRegions()
The Amazon Web Services Regions targeted by the current Automation execution.
public void setRegions(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.public TargetLocation withRegions(String... regions)
The Amazon Web Services Regions targeted by the current Automation execution.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- The Amazon Web Services Regions targeted by the current Automation execution.public TargetLocation withRegions(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.public void setTargetLocationMaxConcurrency(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.public String getTargetLocationMaxConcurrency()
The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.
public TargetLocation withTargetLocationMaxConcurrency(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.public void setTargetLocationMaxErrors(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.public String getTargetLocationMaxErrors()
The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
public TargetLocation withTargetLocationMaxErrors(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.public void setExecutionRoleName(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
.public String getExecutionRoleName()
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 withExecutionRoleName(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
.public String toString()
toString
in class Object
Object.toString()
public TargetLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.