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