@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 executing Automation.
|
List<String> |
getRegions()
The AWS Regions targeted by the current Automation execution.
|
String |
getTargetLocationMaxConcurrency()
The maxium number of AWS accounts and AWS regions allowed to run the Automation concurrently
|
String |
getTargetLocationMaxErrors()
The maxium number of errors allowed before the system stops queueing additional Automation executions for the
currently executing 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 executing Automation.
|
void |
setRegions(Collection<String> regions)
The AWS Regions targeted by the current Automation execution.
|
void |
setTargetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maxium number of AWS accounts and AWS regions allowed to run the Automation concurrently
|
void |
setTargetLocationMaxErrors(String targetLocationMaxErrors)
The maxium number of errors allowed before the system stops queueing additional Automation executions for the
currently executing 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 executing 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 maxium number of AWS accounts and AWS regions allowed to run the Automation concurrently
|
TargetLocation |
withTargetLocationMaxErrors(String targetLocationMaxErrors)
The maxium number of errors allowed before the system stops queueing additional Automation executions for the
currently executing 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 maxium number of AWS accounts and AWS regions allowed to run the Automation concurrently
targetLocationMaxConcurrency - The maxium number of AWS accounts and AWS regions allowed to run the Automation concurrentlypublic String getTargetLocationMaxConcurrency()
The maxium number of AWS accounts and AWS regions allowed to run the Automation concurrently
public TargetLocation withTargetLocationMaxConcurrency(String targetLocationMaxConcurrency)
The maxium number of AWS accounts and AWS regions allowed to run the Automation concurrently
targetLocationMaxConcurrency - The maxium number of AWS accounts and AWS regions allowed to run the Automation concurrentlypublic void setTargetLocationMaxErrors(String targetLocationMaxErrors)
The maxium number of errors allowed before the system stops queueing additional Automation executions for the currently executing Automation.
targetLocationMaxErrors - The maxium number of errors allowed before the system stops queueing additional Automation executions for
the currently executing Automation.public String getTargetLocationMaxErrors()
The maxium number of errors allowed before the system stops queueing additional Automation executions for the currently executing Automation.
public TargetLocation withTargetLocationMaxErrors(String targetLocationMaxErrors)
The maxium number of errors allowed before the system stops queueing additional Automation executions for the currently executing Automation.
targetLocationMaxErrors - The maxium number of errors allowed before the system stops queueing additional Automation executions for
the currently executing Automation.public void setExecutionRoleName(String executionRoleName)
The Automation execution role used by the currently executing Automation.
executionRoleName - The Automation execution role used by the currently executing Automation.public String getExecutionRoleName()
The Automation execution role used by the currently executing Automation.
public TargetLocation withExecutionRoleName(String executionRoleName)
The Automation execution role used by the currently executing Automation.
executionRoleName - The Automation execution role used by the currently executing Automation.public String toString()
toString in class ObjectObject.toString()public TargetLocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.