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