@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceCountFilters extends Object implements Serializable, Cloneable, StructuredPojo
Filters the resource count based on account ID, region, and resource type.
Constructor and Description |
---|
ResourceCountFilters() |
Modifier and Type | Method and Description |
---|---|
ResourceCountFilters |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The 12-digit ID of the account.
|
String |
getRegion()
The region where the account is located.
|
String |
getResourceType()
The type of the Amazon Web Services resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The 12-digit ID of the account.
|
void |
setRegion(String region)
The region where the account is located.
|
void |
setResourceType(String resourceType)
The type of the Amazon Web Services resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceCountFilters |
withAccountId(String accountId)
The 12-digit ID of the account.
|
ResourceCountFilters |
withRegion(String region)
The region where the account is located.
|
ResourceCountFilters |
withResourceType(ResourceType resourceType)
The type of the Amazon Web Services resource.
|
ResourceCountFilters |
withResourceType(String resourceType)
The type 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 ResourceCountFilters withResourceType(String resourceType)
The type of the Amazon Web Services resource.
resourceType
- The type of the Amazon Web Services resource.ResourceType
public ResourceCountFilters withResourceType(ResourceType resourceType)
The type of the Amazon Web Services resource.
resourceType
- The type of the Amazon Web Services resource.ResourceType
public void setAccountId(String accountId)
The 12-digit ID of the account.
accountId
- The 12-digit ID of the account.public String getAccountId()
The 12-digit ID of the account.
public ResourceCountFilters withAccountId(String accountId)
The 12-digit ID of the account.
accountId
- The 12-digit ID of the account.public void setRegion(String region)
The region where the account is located.
region
- The region where the account is located.public String getRegion()
The region where the account is located.
public ResourceCountFilters withRegion(String region)
The region where the account is located.
region
- The region where the account is located.public String toString()
toString
in class Object
Object.toString()
public ResourceCountFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.