@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) |
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.ImportFilterNamepublic String getName()
The name of the field to use for filtering.
ImportFilterNamepublic ImportFilter withName(String name)
The name of the field to use for filtering.
name - The name of the field to use for filtering.ImportFilterNamepublic ImportFilter withName(ImportFilterName name)
The name of the field to use for filtering.
name - The name of the field to use for filtering.ImportFilterNamepublic List<String> getValues()
The values to use to filter the response.
public void setValues(Collection<String> values)
The values to use to filter the response.
values - The values to use to filter the response.public ImportFilter withValues(String... values)
The values to use to filter the response.
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.public ImportFilter withValues(Collection<String> values)
The values to use to filter the response.
values - The values to use to filter the response.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.ImportFilterOperatorpublic 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.ImportFilterOperatorpublic 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.ImportFilterOperatorpublic 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.ImportFilterOperatorpublic String toString()
toString in class ObjectObject.toString()public ImportFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.