@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrganizationAggregationSource extends Object implements Serializable, Cloneable, StructuredPojo
This object contains regions to setup the aggregator and an IAM role to retrieve organization details.
Constructor and Description |
---|
OrganizationAggregationSource() |
Modifier and Type | Method and Description |
---|---|
OrganizationAggregationSource |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllAwsRegions()
If true, aggregate existing AWS Config regions and future regions.
|
List<String> |
getAwsRegions()
The source regions being aggregated.
|
String |
getRoleArn()
ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account.
|
int |
hashCode() |
Boolean |
isAllAwsRegions()
If true, aggregate existing AWS Config regions and future regions.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllAwsRegions(Boolean allAwsRegions)
If true, aggregate existing AWS Config regions and future regions.
|
void |
setAwsRegions(Collection<String> awsRegions)
The source regions being aggregated.
|
void |
setRoleArn(String roleArn)
ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
OrganizationAggregationSource |
withAllAwsRegions(Boolean allAwsRegions)
If true, aggregate existing AWS Config regions and future regions.
|
OrganizationAggregationSource |
withAwsRegions(Collection<String> awsRegions)
The source regions being aggregated.
|
OrganizationAggregationSource |
withAwsRegions(String... awsRegions)
The source regions being aggregated.
|
OrganizationAggregationSource |
withRoleArn(String roleArn)
ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account.
|
public void setRoleArn(String roleArn)
ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account.
roleArn
- ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account.public String getRoleArn()
ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account.
public OrganizationAggregationSource withRoleArn(String roleArn)
ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account.
roleArn
- ARN of the IAM role used to retreive AWS Organization details associated with the aggregator account.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 OrganizationAggregationSource 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 OrganizationAggregationSource withAwsRegions(Collection<String> awsRegions)
The source regions being aggregated.
awsRegions
- The source regions being aggregated.public void setAllAwsRegions(Boolean allAwsRegions)
If true, aggregate existing AWS Config regions and future regions.
allAwsRegions
- If true, aggregate existing AWS Config regions and future regions.public Boolean getAllAwsRegions()
If true, aggregate existing AWS Config regions and future regions.
public OrganizationAggregationSource withAllAwsRegions(Boolean allAwsRegions)
If true, aggregate existing AWS Config regions and future regions.
allAwsRegions
- If true, aggregate existing AWS Config regions and future regions.public Boolean isAllAwsRegions()
If true, aggregate existing AWS Config regions and future regions.
public String toString()
toString
in class Object
Object.toString()
public OrganizationAggregationSource 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.