@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 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 Amazon Web Services resource.
|
String |
getResourceName()
The name of the Amazon Web Services resource.
|
String |
getResourceType()
The type of the Amazon Web Services 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 Amazon Web Services resource.
|
void |
setResourceName(String resourceName)
The name of the Amazon Web Services resource.
|
void |
setResourceType(String resourceType)
The type of the Amazon Web Services 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 Amazon Web Services resource.
|
AggregateResourceIdentifier |
withResourceName(String resourceName)
The name of the Amazon Web Services resource.
|
AggregateResourceIdentifier |
withResourceType(ResourceType resourceType)
The type of the Amazon Web Services resource.
|
AggregateResourceIdentifier |
withResourceType(String resourceType)
The type of the Amazon Web Services 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 Amazon Web Services resource.
resourceId
- The ID of the Amazon Web Services resource.public String getResourceId()
The ID of the Amazon Web Services resource.
public AggregateResourceIdentifier withResourceId(String resourceId)
The ID of the Amazon Web Services resource.
resourceId
- The ID of the Amazon Web Services resource.public void setResourceType(String resourceType)
The type of the Amazon Web Services resource.
resourceType
- The type of the Amazon Web Services resource.ResourceType
public String getResourceType()
The type of the Amazon Web Services resource.
ResourceType
public AggregateResourceIdentifier withResourceType(String resourceType)
The type of the Amazon Web Services resource.
resourceType
- The type of the Amazon Web Services resource.ResourceType
public AggregateResourceIdentifier withResourceType(ResourceType resourceType)
The type of the Amazon Web Services resource.
resourceType
- The type of the Amazon Web Services resource.ResourceType
public void setResourceName(String resourceName)
The name of the Amazon Web Services resource.
resourceName
- The name of the Amazon Web Services resource.public String getResourceName()
The name of the Amazon Web Services resource.
public AggregateResourceIdentifier withResourceName(String resourceName)
The name of the Amazon Web Services resource.
resourceName
- The name of the Amazon Web Services resource.public String toString()
toString
in class Object
Object.toString()
public AggregateResourceIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.