@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetLocation extends Object implements Serializable, Cloneable, StructuredPojo
The combination of AWS Regions and 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 AWS accounts targeted by the current Automation execution.
|
String |
getExecutionRoleName()
The Automation execution role used by the currently running Automation.
|
List<String> |
getRegions()
The AWS Regions targeted by the current Automation execution.
|
String |
getTargetLocationMaxConcurrency()
The maximum number of AWS accounts and AWS regions 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 AWS 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 AWS Regions targeted by the current Automation execution.
|
void |
setTargetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maximum number of AWS accounts and AWS regions 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 AWS accounts targeted by the current Automation execution.
|
TargetLocation |
withAccounts(String... accounts)
The AWS 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 AWS Regions targeted by the current Automation execution.
|
TargetLocation |
withRegions(String... regions)
The AWS Regions targeted by the current Automation execution.
|
TargetLocation |
withTargetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maximum number of AWS accounts and AWS regions 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 AWS accounts targeted by the current Automation execution.
public void setAccounts(Collection<String> accounts)
The AWS accounts targeted by the current Automation execution.
accounts
- The AWS accounts targeted by the current Automation execution.public TargetLocation withAccounts(String... accounts)
The AWS 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 AWS accounts targeted by the current Automation execution.public TargetLocation withAccounts(Collection<String> accounts)
The AWS accounts targeted by the current Automation execution.
accounts
- The AWS accounts targeted by the current Automation execution.public List<String> getRegions()
The AWS Regions targeted by the current Automation execution.
public void setRegions(Collection<String> regions)
The AWS Regions targeted by the current Automation execution.
regions
- The AWS Regions targeted by the current Automation execution.public TargetLocation withRegions(String... regions)
The AWS 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 AWS Regions targeted by the current Automation execution.public TargetLocation withRegions(Collection<String> regions)
The AWS Regions targeted by the current Automation execution.
regions
- The AWS Regions targeted by the current Automation execution.public void setTargetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maximum number of AWS accounts and AWS regions allowed to run the Automation concurrently
targetLocationMaxConcurrency
- The maximum number of AWS accounts and AWS regions allowed to run the Automation concurrentlypublic String getTargetLocationMaxConcurrency()
The maximum number of AWS accounts and AWS regions allowed to run the Automation concurrently
public TargetLocation withTargetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maximum number of AWS accounts and AWS regions allowed to run the Automation concurrently
targetLocationMaxConcurrency
- The maximum number of AWS accounts and AWS regions allowed to run the Automation concurrentlypublic 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.
executionRoleName
- The Automation execution role used by the currently running Automation.public String getExecutionRoleName()
The Automation execution role used by the currently running Automation.
public TargetLocation withExecutionRoleName(String executionRoleName)
The Automation execution role used by the currently running Automation.
executionRoleName
- The Automation execution role used by the currently running Automation.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.