@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceFilters extends Object implements Serializable, Cloneable, StructuredPojo
Filters the results by resource account ID, region, resource ID, and resource name.
Constructor and Description |
---|
ResourceFilters() |
Modifier and Type | Method and Description |
---|---|
ResourceFilters |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The 12-digit source account ID.
|
String |
getRegion()
The source region.
|
String |
getResourceId()
The ID of the resource.
|
String |
getResourceName()
The name of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The 12-digit source account ID.
|
void |
setRegion(String region)
The source region.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceName(String resourceName)
The name of the resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceFilters |
withAccountId(String accountId)
The 12-digit source account ID.
|
ResourceFilters |
withRegion(String region)
The source region.
|
ResourceFilters |
withResourceId(String resourceId)
The ID of the resource.
|
ResourceFilters |
withResourceName(String resourceName)
The name of the resource.
|
public void setAccountId(String accountId)
The 12-digit source account ID.
accountId
- The 12-digit source account ID.public String getAccountId()
The 12-digit source account ID.
public ResourceFilters withAccountId(String accountId)
The 12-digit source account ID.
accountId
- The 12-digit source account ID.public void setResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public String getResourceId()
The ID of the resource.
public ResourceFilters withResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public void setResourceName(String resourceName)
The name of the resource.
resourceName
- The name of the resource.public String getResourceName()
The name of the resource.
public ResourceFilters withResourceName(String resourceName)
The name of the resource.
resourceName
- The name of the resource.public void setRegion(String region)
The source region.
region
- The source region.public String getRegion()
The source region.
public ResourceFilters withRegion(String region)
The source region.
region
- The source region.public String toString()
toString
in class Object
Object.toString()
public ResourceFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.