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