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