@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregateResourceIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
The details that identify a resource that is collected by AWS Config aggregator, including the resource type, ID, (if available) the custom resource name, the source account, and source region.
| Constructor and Description |
|---|
AggregateResourceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
AggregateResourceIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The ID of the AWS resource.
|
String |
getResourceName()
The name of the AWS resource.
|
String |
getResourceType()
The type of the AWS resource.
|
String |
getSourceAccountId()
The 12-digit account ID of the source account.
|
String |
getSourceRegion()
The source region where data is aggregated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setResourceId(String resourceId)
The ID of the AWS resource.
|
void |
setResourceName(String resourceName)
The name of the AWS resource.
|
void |
setResourceType(String resourceType)
The type of the AWS resource.
|
void |
setSourceAccountId(String sourceAccountId)
The 12-digit account ID of the source account.
|
void |
setSourceRegion(String sourceRegion)
The source region where data is aggregated.
|
String |
toString()
Returns a string representation of this object.
|
AggregateResourceIdentifier |
withResourceId(String resourceId)
The ID of the AWS resource.
|
AggregateResourceIdentifier |
withResourceName(String resourceName)
The name of the AWS resource.
|
AggregateResourceIdentifier |
withResourceType(ResourceType resourceType)
The type of the AWS resource.
|
AggregateResourceIdentifier |
withResourceType(String resourceType)
The type of the AWS resource.
|
AggregateResourceIdentifier |
withSourceAccountId(String sourceAccountId)
The 12-digit account ID of the source account.
|
AggregateResourceIdentifier |
withSourceRegion(String sourceRegion)
The source region where data is aggregated.
|
public void setSourceAccountId(String sourceAccountId)
The 12-digit account ID of the source account.
sourceAccountId - The 12-digit account ID of the source account.public String getSourceAccountId()
The 12-digit account ID of the source account.
public AggregateResourceIdentifier withSourceAccountId(String sourceAccountId)
The 12-digit account ID of the source account.
sourceAccountId - The 12-digit account ID of the source account.public void setSourceRegion(String sourceRegion)
The source region where data is aggregated.
sourceRegion - The source region where data is aggregated.public String getSourceRegion()
The source region where data is aggregated.
public AggregateResourceIdentifier withSourceRegion(String sourceRegion)
The source region where data is aggregated.
sourceRegion - The source region where data is aggregated.public void setResourceId(String resourceId)
The ID of the AWS resource.
resourceId - The ID of the AWS resource.public String getResourceId()
The ID of the AWS resource.
public AggregateResourceIdentifier withResourceId(String resourceId)
The ID of the AWS resource.
resourceId - The ID of the AWS resource.public void setResourceType(String resourceType)
The type of the AWS resource.
resourceType - The type of the AWS resource.ResourceTypepublic String getResourceType()
The type of the AWS resource.
ResourceTypepublic AggregateResourceIdentifier withResourceType(String resourceType)
The type of the AWS resource.
resourceType - The type of the AWS resource.ResourceTypepublic AggregateResourceIdentifier withResourceType(ResourceType resourceType)
The type of the AWS resource.
resourceType - The type of the AWS resource.ResourceTypepublic void setResourceName(String resourceName)
The name of the AWS resource.
resourceName - The name of the AWS resource.public String getResourceName()
The name of the AWS resource.
public AggregateResourceIdentifier withResourceName(String resourceName)
The name of the AWS resource.
resourceName - The name of the AWS resource.public String toString()
toString in class ObjectObject.toString()public AggregateResourceIdentifier 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.