@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DimensionFilter extends Object implements Serializable, Cloneable, StructuredPojo
Represents filters for a dimension.
| Constructor and Description |
|---|
DimensionFilter() |
| Modifier and Type | Method and Description |
|---|---|
DimensionFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The dimension name to be matched.
|
String |
getValue()
The value of the dimension to be matched.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The dimension name to be matched.
|
void |
setValue(String value)
The value of the dimension to be matched.
|
String |
toString()
Returns a string representation of this object.
|
DimensionFilter |
withName(String name)
The dimension name to be matched.
|
DimensionFilter |
withValue(String value)
The value of the dimension to be matched.
|
public void setName(String name)
The dimension name to be matched.
name - The dimension name to be matched.public String getName()
The dimension name to be matched.
public DimensionFilter withName(String name)
The dimension name to be matched.
name - The dimension name to be matched.public void setValue(String value)
The value of the dimension to be matched.
value - The value of the dimension to be matched.public String getValue()
The value of the dimension to be matched.
public DimensionFilter withValue(String value)
The value of the dimension to be matched.
value - The value of the dimension to be matched.public String toString()
toString in class ObjectObject.toString()public DimensionFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.