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