@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMonitoredResourcesFilters extends Object implements Serializable, Cloneable, StructuredPojo
Filters to determine which monitored resources you want to retrieve. You can filter by resource type or resource permission status.
Constructor and Description |
---|
ListMonitoredResourcesFilters() |
Modifier and Type | Method and Description |
---|---|
ListMonitoredResourcesFilters |
clone() |
boolean |
equals(Object obj) |
String |
getResourcePermission()
The permission status of a resource.
|
List<String> |
getResourceTypeFilters()
The type of resource that you wish to retrieve, such as log groups.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourcePermission(String resourcePermission)
The permission status of a resource.
|
void |
setResourceTypeFilters(Collection<String> resourceTypeFilters)
The type of resource that you wish to retrieve, such as log groups.
|
String |
toString()
Returns a string representation of this object.
|
ListMonitoredResourcesFilters |
withResourcePermission(ResourcePermission resourcePermission)
The permission status of a resource.
|
ListMonitoredResourcesFilters |
withResourcePermission(String resourcePermission)
The permission status of a resource.
|
ListMonitoredResourcesFilters |
withResourceTypeFilters(Collection<String> resourceTypeFilters)
The type of resource that you wish to retrieve, such as log groups.
|
ListMonitoredResourcesFilters |
withResourceTypeFilters(ResourceTypeFilter... resourceTypeFilters)
The type of resource that you wish to retrieve, such as log groups.
|
ListMonitoredResourcesFilters |
withResourceTypeFilters(String... resourceTypeFilters)
The type of resource that you wish to retrieve, such as log groups.
|
public void setResourcePermission(String resourcePermission)
The permission status of a resource.
resourcePermission
- The permission status of a resource.ResourcePermission
public String getResourcePermission()
The permission status of a resource.
ResourcePermission
public ListMonitoredResourcesFilters withResourcePermission(String resourcePermission)
The permission status of a resource.
resourcePermission
- The permission status of a resource.ResourcePermission
public ListMonitoredResourcesFilters withResourcePermission(ResourcePermission resourcePermission)
The permission status of a resource.
resourcePermission
- The permission status of a resource.ResourcePermission
public List<String> getResourceTypeFilters()
The type of resource that you wish to retrieve, such as log groups.
ResourceTypeFilter
public void setResourceTypeFilters(Collection<String> resourceTypeFilters)
The type of resource that you wish to retrieve, such as log groups.
resourceTypeFilters
- The type of resource that you wish to retrieve, such as log groups.ResourceTypeFilter
public ListMonitoredResourcesFilters withResourceTypeFilters(String... resourceTypeFilters)
The type of resource that you wish to retrieve, such as log groups.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypeFilters(java.util.Collection)
or withResourceTypeFilters(java.util.Collection)
if you want to override the existing values.
resourceTypeFilters
- The type of resource that you wish to retrieve, such as log groups.ResourceTypeFilter
public ListMonitoredResourcesFilters withResourceTypeFilters(Collection<String> resourceTypeFilters)
The type of resource that you wish to retrieve, such as log groups.
resourceTypeFilters
- The type of resource that you wish to retrieve, such as log groups.ResourceTypeFilter
public ListMonitoredResourcesFilters withResourceTypeFilters(ResourceTypeFilter... resourceTypeFilters)
The type of resource that you wish to retrieve, such as log groups.
resourceTypeFilters
- The type of resource that you wish to retrieve, such as log groups.ResourceTypeFilter
public String toString()
toString
in class Object
Object.toString()
public ListMonitoredResourcesFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.