@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountAggregationSource extends Object implements Serializable, Cloneable, StructuredPojo
A collection of accounts and regions.
Constructor and Description |
---|
AccountAggregationSource() |
Modifier and Type | Method and Description |
---|---|
AccountAggregationSource |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The 12-digit account ID of the account being aggregated.
|
Boolean |
getAllAwsRegions()
If true, aggregate existing Config regions and future regions.
|
List<String> |
getAwsRegions()
The source regions being aggregated.
|
int |
hashCode() |
Boolean |
isAllAwsRegions()
If true, aggregate existing Config regions and future regions.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountIds(Collection<String> accountIds)
The 12-digit account ID of the account being aggregated.
|
void |
setAllAwsRegions(Boolean allAwsRegions)
If true, aggregate existing Config regions and future regions.
|
void |
setAwsRegions(Collection<String> awsRegions)
The source regions being aggregated.
|
String |
toString()
Returns a string representation of this object.
|
AccountAggregationSource |
withAccountIds(Collection<String> accountIds)
The 12-digit account ID of the account being aggregated.
|
AccountAggregationSource |
withAccountIds(String... accountIds)
The 12-digit account ID of the account being aggregated.
|
AccountAggregationSource |
withAllAwsRegions(Boolean allAwsRegions)
If true, aggregate existing Config regions and future regions.
|
AccountAggregationSource |
withAwsRegions(Collection<String> awsRegions)
The source regions being aggregated.
|
AccountAggregationSource |
withAwsRegions(String... awsRegions)
The source regions being aggregated.
|
public List<String> getAccountIds()
The 12-digit account ID of the account being aggregated.
public void setAccountIds(Collection<String> accountIds)
The 12-digit account ID of the account being aggregated.
accountIds
- The 12-digit account ID of the account being aggregated.public AccountAggregationSource withAccountIds(String... accountIds)
The 12-digit account ID of the account being aggregated.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- The 12-digit account ID of the account being aggregated.public AccountAggregationSource withAccountIds(Collection<String> accountIds)
The 12-digit account ID of the account being aggregated.
accountIds
- The 12-digit account ID of the account being aggregated.public void setAllAwsRegions(Boolean allAwsRegions)
If true, aggregate existing Config regions and future regions.
allAwsRegions
- If true, aggregate existing Config regions and future regions.public Boolean getAllAwsRegions()
If true, aggregate existing Config regions and future regions.
public AccountAggregationSource withAllAwsRegions(Boolean allAwsRegions)
If true, aggregate existing Config regions and future regions.
allAwsRegions
- If true, aggregate existing Config regions and future regions.public Boolean isAllAwsRegions()
If true, aggregate existing Config regions and future regions.
public List<String> getAwsRegions()
The source regions being aggregated.
public void setAwsRegions(Collection<String> awsRegions)
The source regions being aggregated.
awsRegions
- The source regions being aggregated.public AccountAggregationSource withAwsRegions(String... awsRegions)
The source regions being aggregated.
NOTE: This method appends the values to the existing list (if any). Use
setAwsRegions(java.util.Collection)
or withAwsRegions(java.util.Collection)
if you want to
override the existing values.
awsRegions
- The source regions being aggregated.public AccountAggregationSource withAwsRegions(Collection<String> awsRegions)
The source regions being aggregated.
awsRegions
- The source regions being aggregated.public String toString()
toString
in class Object
Object.toString()
public AccountAggregationSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.