@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceStringFilter extends Object implements Serializable, Cloneable, StructuredPojo
One or more filters. Use a filter to return a more specific list of results.
Constructor and Description |
---|
ComplianceStringFilter() |
Modifier and Type | Method and Description |
---|---|
ComplianceStringFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
String |
getType()
The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or
GreaterThan.
|
List<String> |
getValues()
The value for which to search.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The name of the filter.
|
void |
setType(String type)
The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or
GreaterThan.
|
void |
setValues(Collection<String> values)
The value for which to search.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ComplianceStringFilter |
withKey(String key)
The name of the filter.
|
ComplianceStringFilter |
withType(ComplianceQueryOperatorType type)
The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or
GreaterThan.
|
ComplianceStringFilter |
withType(String type)
The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or
GreaterThan.
|
ComplianceStringFilter |
withValues(Collection<String> values)
The value for which to search.
|
ComplianceStringFilter |
withValues(String... values)
The value for which to search.
|
public void setKey(String key)
The name of the filter.
key
- The name of the filter.public String getKey()
The name of the filter.
public ComplianceStringFilter withKey(String key)
The name of the filter.
key
- The name of the filter.public List<String> getValues()
The value for which to search.
public void setValues(Collection<String> values)
The value for which to search.
values
- The value for which to search.public ComplianceStringFilter withValues(String... values)
The value for which to search.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The value for which to search.public ComplianceStringFilter withValues(Collection<String> values)
The value for which to search.
values
- The value for which to search.public void setType(String type)
The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or GreaterThan.
type
- The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or
GreaterThan.ComplianceQueryOperatorType
public String getType()
The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or GreaterThan.
ComplianceQueryOperatorType
public ComplianceStringFilter withType(String type)
The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or GreaterThan.
type
- The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or
GreaterThan.ComplianceQueryOperatorType
public ComplianceStringFilter withType(ComplianceQueryOperatorType type)
The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or GreaterThan.
type
- The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or
GreaterThan.ComplianceQueryOperatorType
public String toString()
toString
in class Object
Object.toString()
public ComplianceStringFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.