@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotTypeFilter extends Object implements Serializable, Cloneable, StructuredPojo
Filters the response from the ListSlotTypes
operation.
Constructor and Description |
---|
SlotTypeFilter() |
Modifier and Type | Method and Description |
---|---|
SlotTypeFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the field to use for filtering.
|
String |
getOperator()
The operator to use for the filter.
|
List<String> |
getValues()
The value to use to filter the response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the field to use for filtering.
|
void |
setOperator(String operator)
The operator to use for the filter.
|
void |
setValues(Collection<String> values)
The value to use to filter the response.
|
String |
toString()
Returns a string representation of this object.
|
SlotTypeFilter |
withName(SlotTypeFilterName name)
The name of the field to use for filtering.
|
SlotTypeFilter |
withName(String name)
The name of the field to use for filtering.
|
SlotTypeFilter |
withOperator(SlotTypeFilterOperator operator)
The operator to use for the filter.
|
SlotTypeFilter |
withOperator(String operator)
The operator to use for the filter.
|
SlotTypeFilter |
withValues(Collection<String> values)
The value to use to filter the response.
|
SlotTypeFilter |
withValues(String... values)
The value to use to filter the response.
|
public void setName(String name)
The name of the field to use for filtering.
name
- The name of the field to use for filtering.SlotTypeFilterName
public String getName()
The name of the field to use for filtering.
SlotTypeFilterName
public SlotTypeFilter withName(String name)
The name of the field to use for filtering.
name
- The name of the field to use for filtering.SlotTypeFilterName
public SlotTypeFilter withName(SlotTypeFilterName name)
The name of the field to use for filtering.
name
- The name of the field to use for filtering.SlotTypeFilterName
public List<String> getValues()
The value to use to filter the response.
public void setValues(Collection<String> values)
The value to use to filter the response.
values
- The value to use to filter the response.public SlotTypeFilter withValues(String... values)
The value to use to filter the response.
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 to use to filter the response.public SlotTypeFilter withValues(Collection<String> values)
The value to use to filter the response.
values
- The value to use to filter the response.public void setOperator(String operator)
The operator to use for the filter. Specify EQ
when the ListSlotTypes
operation should
return only aliases that equal the specified value. Specify CO
when the ListSlotTypes
operation should return aliases that contain the specified value.
operator
- The operator to use for the filter. Specify EQ
when the ListSlotTypes
operation
should return only aliases that equal the specified value. Specify CO
when the
ListSlotTypes
operation should return aliases that contain the specified value.SlotTypeFilterOperator
public String getOperator()
The operator to use for the filter. Specify EQ
when the ListSlotTypes
operation should
return only aliases that equal the specified value. Specify CO
when the ListSlotTypes
operation should return aliases that contain the specified value.
EQ
when the ListSlotTypes
operation
should return only aliases that equal the specified value. Specify CO
when the
ListSlotTypes
operation should return aliases that contain the specified value.SlotTypeFilterOperator
public SlotTypeFilter withOperator(String operator)
The operator to use for the filter. Specify EQ
when the ListSlotTypes
operation should
return only aliases that equal the specified value. Specify CO
when the ListSlotTypes
operation should return aliases that contain the specified value.
operator
- The operator to use for the filter. Specify EQ
when the ListSlotTypes
operation
should return only aliases that equal the specified value. Specify CO
when the
ListSlotTypes
operation should return aliases that contain the specified value.SlotTypeFilterOperator
public SlotTypeFilter withOperator(SlotTypeFilterOperator operator)
The operator to use for the filter. Specify EQ
when the ListSlotTypes
operation should
return only aliases that equal the specified value. Specify CO
when the ListSlotTypes
operation should return aliases that contain the specified value.
operator
- The operator to use for the filter. Specify EQ
when the ListSlotTypes
operation
should return only aliases that equal the specified value. Specify CO
when the
ListSlotTypes
operation should return aliases that contain the specified value.SlotTypeFilterOperator
public String toString()
toString
in class Object
Object.toString()
public SlotTypeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.