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