@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotFilter extends Object implements Serializable, Cloneable, StructuredPojo
Filters the response from the ListSlots operation.
| Constructor and Description |
|---|
SlotFilter() |
| Modifier and Type | Method and Description |
|---|---|
SlotFilter |
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.
|
SlotFilter |
withName(SlotFilterName name)
The name of the field to use for filtering.
|
SlotFilter |
withName(String name)
The name of the field to use for filtering.
|
SlotFilter |
withOperator(SlotFilterOperator operator)
The operator to use for the filter.
|
SlotFilter |
withOperator(String operator)
The operator to use for the filter.
|
SlotFilter |
withValues(Collection<String> values)
The value to use to filter the response.
|
SlotFilter |
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.SlotFilterNamepublic String getName()
The name of the field to use for filtering.
SlotFilterNamepublic SlotFilter withName(String name)
The name of the field to use for filtering.
name - The name of the field to use for filtering.SlotFilterNamepublic SlotFilter withName(SlotFilterName name)
The name of the field to use for filtering.
name - The name of the field to use for filtering.SlotFilterNamepublic 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 SlotFilter 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 SlotFilter 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 ListSlots operation should
return only aliases that equal the specified value. Specify CO when the ListSlots
operation should return aliases that contain the specified value.
operator - The operator to use for the filter. Specify EQ when the ListSlots operation
should return only aliases that equal the specified value. Specify CO when the
ListSlots operation should return aliases that contain the specified value.SlotFilterOperatorpublic String getOperator()
The operator to use for the filter. Specify EQ when the ListSlots operation should
return only aliases that equal the specified value. Specify CO when the ListSlots
operation should return aliases that contain the specified value.
EQ when the ListSlots operation
should return only aliases that equal the specified value. Specify CO when the
ListSlots operation should return aliases that contain the specified value.SlotFilterOperatorpublic SlotFilter withOperator(String operator)
The operator to use for the filter. Specify EQ when the ListSlots operation should
return only aliases that equal the specified value. Specify CO when the ListSlots
operation should return aliases that contain the specified value.
operator - The operator to use for the filter. Specify EQ when the ListSlots operation
should return only aliases that equal the specified value. Specify CO when the
ListSlots operation should return aliases that contain the specified value.SlotFilterOperatorpublic SlotFilter withOperator(SlotFilterOperator operator)
The operator to use for the filter. Specify EQ when the ListSlots operation should
return only aliases that equal the specified value. Specify CO when the ListSlots
operation should return aliases that contain the specified value.
operator - The operator to use for the filter. Specify EQ when the ListSlots operation
should return only aliases that equal the specified value. Specify CO when the
ListSlots operation should return aliases that contain the specified value.SlotFilterOperatorpublic String toString()
toString in class ObjectObject.toString()public SlotFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.