@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) |
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.BotFilterNamepublic String getName()
The name of the field to filter the list of bots.
BotFilterNamepublic 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.BotFilterNamepublic 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.BotFilterNamepublic 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.BotFilterOperatorpublic 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.BotFilterOperatorpublic 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.BotFilterOperatorpublic 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.BotFilterOperatorpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.