@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchResourcesCriteriaBlock extends Object implements Serializable, Cloneable, StructuredPojo
Specifies property- and tag-based conditions that define filter criteria for including or excluding Amazon Web Services resources from the query results.
Constructor and Description |
---|
SearchResourcesCriteriaBlock() |
Modifier and Type | Method and Description |
---|---|
SearchResourcesCriteriaBlock |
clone() |
boolean |
equals(Object obj) |
List<SearchResourcesCriteria> |
getAnd()
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the
query results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnd(Collection<SearchResourcesCriteria> and)
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the
query results.
|
String |
toString()
Returns a string representation of this object.
|
SearchResourcesCriteriaBlock |
withAnd(Collection<SearchResourcesCriteria> and)
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the
query results.
|
SearchResourcesCriteriaBlock |
withAnd(SearchResourcesCriteria... and)
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the
query results.
|
public List<SearchResourcesCriteria> getAnd()
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
public void setAnd(Collection<SearchResourcesCriteria> and)
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
and
- An array of objects, one for each property- or tag-based condition that includes or excludes resources
from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the
conditions.public SearchResourcesCriteriaBlock withAnd(SearchResourcesCriteria... and)
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
NOTE: This method appends the values to the existing list (if any). Use
setAnd(java.util.Collection)
or withAnd(java.util.Collection)
if you want to override the
existing values.
and
- An array of objects, one for each property- or tag-based condition that includes or excludes resources
from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the
conditions.public SearchResourcesCriteriaBlock withAnd(Collection<SearchResourcesCriteria> and)
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
and
- An array of objects, one for each property- or tag-based condition that includes or excludes resources
from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the
conditions.public String toString()
toString
in class Object
Object.toString()
public SearchResourcesCriteriaBlock clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.