@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MapFilter extends Object implements Serializable, Cloneable, StructuredPojo
An object that describes details of a map filter.
Constructor and Description |
---|
MapFilter() |
Modifier and Type | Method and Description |
---|---|
MapFilter |
clone() |
boolean |
equals(Object obj) |
String |
getComparison()
The operator to use when comparing values in the filter.
|
String |
getKey()
The tag key used in the filter.
|
String |
getValue()
The tag value used in the filter.
|
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 |
setKey(String key)
The tag key used in the filter.
|
void |
setValue(String value)
The tag value used in the filter.
|
String |
toString()
Returns a string representation of this object.
|
MapFilter |
withComparison(MapComparison comparison)
The operator to use when comparing values in the filter.
|
MapFilter |
withComparison(String comparison)
The operator to use when comparing values in the filter.
|
MapFilter |
withKey(String key)
The tag key used in the filter.
|
MapFilter |
withValue(String value)
The tag value used in the filter.
|
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.MapComparison
public String getComparison()
The operator to use when comparing values in the filter.
MapComparison
public MapFilter withComparison(String comparison)
The operator to use when comparing values in the filter.
comparison
- The operator to use when comparing values in the filter.MapComparison
public MapFilter withComparison(MapComparison comparison)
The operator to use when comparing values in the filter.
comparison
- The operator to use when comparing values in the filter.MapComparison
public void setKey(String key)
The tag key used in the filter.
key
- The tag key used in the filter.public String getKey()
The tag key used in the filter.
public MapFilter withKey(String key)
The tag key used in the filter.
key
- The tag key used in the filter.public void setValue(String value)
The tag value used in the filter.
value
- The tag value used in the filter.public String getValue()
The tag value used in the filter.
public MapFilter withValue(String value)
The tag value used in the filter.
value
- The tag value used in the filter.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.