@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Use filters to return a subset of resources. You can define filters for specific parameters, such as the resource status.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getResourceArns()
Filter based on the Amazon Resource Number (ARN) of the resource.
|
List<String> |
getStatus()
Filter based on the resource status.
|
List<String> |
getType()
The type of resources to be filtered.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setResourceArns(Collection<String> resourceArns)
Filter based on the Amazon Resource Number (ARN) of the resource.
|
void |
setStatus(Collection<String> status)
Filter based on the resource status.
|
void |
setType(Collection<String> type)
The type of resources to be filtered.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withResourceArns(Collection<String> resourceArns)
Filter based on the Amazon Resource Number (ARN) of the resource.
|
Filter |
withResourceArns(String... resourceArns)
Filter based on the Amazon Resource Number (ARN) of the resource.
|
Filter |
withStatus(Collection<String> status)
Filter based on the resource status.
|
Filter |
withStatus(ShareStatus... status)
Filter based on the resource status.
|
Filter |
withStatus(String... status)
Filter based on the resource status.
|
Filter |
withType(Collection<String> type)
The type of resources to be filtered.
|
Filter |
withType(ShareResourceType... type)
The type of resources to be filtered.
|
Filter |
withType(String... type)
The type of resources to be filtered.
|
public List<String> getResourceArns()
Filter based on the Amazon Resource Number (ARN) of the resource. You can specify up to 10 values.
public void setResourceArns(Collection<String> resourceArns)
Filter based on the Amazon Resource Number (ARN) of the resource. You can specify up to 10 values.
resourceArns - Filter based on the Amazon Resource Number (ARN) of the resource. You can specify up to 10 values.public Filter withResourceArns(String... resourceArns)
Filter based on the Amazon Resource Number (ARN) of the resource. You can specify up to 10 values.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection) or withResourceArns(java.util.Collection) if you want to
override the existing values.
resourceArns - Filter based on the Amazon Resource Number (ARN) of the resource. You can specify up to 10 values.public Filter withResourceArns(Collection<String> resourceArns)
Filter based on the Amazon Resource Number (ARN) of the resource. You can specify up to 10 values.
resourceArns - Filter based on the Amazon Resource Number (ARN) of the resource. You can specify up to 10 values.public List<String> getStatus()
Filter based on the resource status. You can specify up to 10 values.
ShareStatuspublic void setStatus(Collection<String> status)
Filter based on the resource status. You can specify up to 10 values.
status - Filter based on the resource status. You can specify up to 10 values.ShareStatuspublic Filter withStatus(String... status)
Filter based on the resource status. You can specify up to 10 values.
NOTE: This method appends the values to the existing list (if any). Use
setStatus(java.util.Collection) or withStatus(java.util.Collection) if you want to override the
existing values.
status - Filter based on the resource status. You can specify up to 10 values.ShareStatuspublic Filter withStatus(Collection<String> status)
Filter based on the resource status. You can specify up to 10 values.
status - Filter based on the resource status. You can specify up to 10 values.ShareStatuspublic Filter withStatus(ShareStatus... status)
Filter based on the resource status. You can specify up to 10 values.
status - Filter based on the resource status. You can specify up to 10 values.ShareStatuspublic List<String> getType()
The type of resources to be filtered. You can specify one or more of the resource types.
ShareResourceTypepublic void setType(Collection<String> type)
The type of resources to be filtered. You can specify one or more of the resource types.
type - The type of resources to be filtered. You can specify one or more of the resource types.ShareResourceTypepublic Filter withType(String... type)
The type of resources to be filtered. You can specify one or more of the resource types.
NOTE: This method appends the values to the existing list (if any). Use
setType(java.util.Collection) or withType(java.util.Collection) if you want to override the
existing values.
type - The type of resources to be filtered. You can specify one or more of the resource types.ShareResourceTypepublic Filter withType(Collection<String> type)
The type of resources to be filtered. You can specify one or more of the resource types.
type - The type of resources to be filtered. You can specify one or more of the resource types.ShareResourceTypepublic Filter withType(ShareResourceType... type)
The type of resources to be filtered. You can specify one or more of the resource types.
type - The type of resources to be filtered. You can specify one or more of the resource types.ShareResourceTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.