@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StringFilter extends Object implements Serializable, Cloneable, StructuredPojo
An object that describes the details of a string filter.
Constructor and Description |
---|
StringFilter() |
Modifier and Type | Method and Description |
---|---|
StringFilter |
clone() |
boolean |
equals(Object obj) |
String |
getComparison()
The operator to use when comparing values in the filter.
|
String |
getValue()
The value to filter on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComparison(String comparison)
The operator to use when comparing values in the filter.
|
void |
setValue(String value)
The value to filter on.
|
String |
toString()
Returns a string representation of this object.
|
StringFilter |
withComparison(String comparison)
The operator to use when comparing values in the filter.
|
StringFilter |
withComparison(StringComparison comparison)
The operator to use when comparing values in the filter.
|
StringFilter |
withValue(String value)
The value to filter on.
|
public void setComparison(String comparison)
The operator to use when comparing values in the filter.
comparison
- The operator to use when comparing values in the filter.StringComparison
public String getComparison()
The operator to use when comparing values in the filter.
StringComparison
public StringFilter withComparison(String comparison)
The operator to use when comparing values in the filter.
comparison
- The operator to use when comparing values in the filter.StringComparison
public StringFilter withComparison(StringComparison comparison)
The operator to use when comparing values in the filter.
comparison
- The operator to use when comparing values in the filter.StringComparison
public void setValue(String value)
The value to filter on.
value
- The value to filter on.public String getValue()
The value to filter on.
public StringFilter withValue(String value)
The value to filter on.
value
- The value to filter on.public String toString()
toString
in class Object
Object.toString()
public StringFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.