@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilterValue extends Object implements Serializable, Cloneable, StructuredPojo
Represents a single entry in the list of values for a FilterExpression
.
Constructor and Description |
---|
FilterValue() |
Modifier and Type | Method and Description |
---|---|
FilterValue |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of filter value.
|
List<String> |
getValue()
The value to be associated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The type of filter value.
|
void |
setValue(Collection<String> value)
The value to be associated.
|
String |
toString()
Returns a string representation of this object.
|
FilterValue |
withType(FilterValueType type)
The type of filter value.
|
FilterValue |
withType(String type)
The type of filter value.
|
FilterValue |
withValue(Collection<String> value)
The value to be associated.
|
FilterValue |
withValue(String... value)
The value to be associated.
|
public void setType(String type)
The type of filter value.
type
- The type of filter value.FilterValueType
public String getType()
The type of filter value.
FilterValueType
public FilterValue withType(String type)
The type of filter value.
type
- The type of filter value.FilterValueType
public FilterValue withType(FilterValueType type)
The type of filter value.
type
- The type of filter value.FilterValueType
public List<String> getValue()
The value to be associated.
public void setValue(Collection<String> value)
The value to be associated.
value
- The value to be associated.public FilterValue withValue(String... value)
The value to be associated.
NOTE: This method appends the values to the existing list (if any). Use
setValue(java.util.Collection)
or withValue(java.util.Collection)
if you want to override the
existing values.
value
- The value to be associated.public FilterValue withValue(Collection<String> value)
The value to be associated.
value
- The value to be associated.public String toString()
toString
in class Object
Object.toString()
public FilterValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.