@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilterCondition extends Object implements Serializable, Cloneable, StructuredPojo
Information for the filtering of a list of domains returned by ListDomains.
Constructor and Description |
---|
FilterCondition() |
Modifier and Type | Method and Description |
---|---|
FilterCondition |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Name of the field which should be used for filtering the list of domains.
|
String |
getOperator()
The operator values for filtering domain names.
|
List<String> |
getValues()
An array of strings presenting values to compare.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
Name of the field which should be used for filtering the list of domains.
|
void |
setOperator(String operator)
The operator values for filtering domain names.
|
void |
setValues(Collection<String> values)
An array of strings presenting values to compare.
|
String |
toString()
Returns a string representation of this object.
|
FilterCondition |
withName(ListDomainsAttributeName name)
Name of the field which should be used for filtering the list of domains.
|
FilterCondition |
withName(String name)
Name of the field which should be used for filtering the list of domains.
|
FilterCondition |
withOperator(Operator operator)
The operator values for filtering domain names.
|
FilterCondition |
withOperator(String operator)
The operator values for filtering domain names.
|
FilterCondition |
withValues(Collection<String> values)
An array of strings presenting values to compare.
|
FilterCondition |
withValues(String... values)
An array of strings presenting values to compare.
|
public void setName(String name)
Name of the field which should be used for filtering the list of domains.
name
- Name of the field which should be used for filtering the list of domains.ListDomainsAttributeName
public String getName()
Name of the field which should be used for filtering the list of domains.
ListDomainsAttributeName
public FilterCondition withName(String name)
Name of the field which should be used for filtering the list of domains.
name
- Name of the field which should be used for filtering the list of domains.ListDomainsAttributeName
public FilterCondition withName(ListDomainsAttributeName name)
Name of the field which should be used for filtering the list of domains.
name
- Name of the field which should be used for filtering the list of domains.ListDomainsAttributeName
public void setOperator(String operator)
The operator values for filtering domain names. The values can be:
LE
: Less than, or equal to
GE
: Greater than, or equal to
BEGINS_WITH
: Begins with
operator
- The operator values for filtering domain names. The values can be:
LE
: Less than, or equal to
GE
: Greater than, or equal to
BEGINS_WITH
: Begins with
Operator
public String getOperator()
The operator values for filtering domain names. The values can be:
LE
: Less than, or equal to
GE
: Greater than, or equal to
BEGINS_WITH
: Begins with
LE
: Less than, or equal to
GE
: Greater than, or equal to
BEGINS_WITH
: Begins with
Operator
public FilterCondition withOperator(String operator)
The operator values for filtering domain names. The values can be:
LE
: Less than, or equal to
GE
: Greater than, or equal to
BEGINS_WITH
: Begins with
operator
- The operator values for filtering domain names. The values can be:
LE
: Less than, or equal to
GE
: Greater than, or equal to
BEGINS_WITH
: Begins with
Operator
public FilterCondition withOperator(Operator operator)
The operator values for filtering domain names. The values can be:
LE
: Less than, or equal to
GE
: Greater than, or equal to
BEGINS_WITH
: Begins with
operator
- The operator values for filtering domain names. The values can be:
LE
: Less than, or equal to
GE
: Greater than, or equal to
BEGINS_WITH
: Begins with
Operator
public List<String> getValues()
An array of strings presenting values to compare. Only 1 item in the list is currently supported.
public void setValues(Collection<String> values)
An array of strings presenting values to compare. Only 1 item in the list is currently supported.
values
- An array of strings presenting values to compare. Only 1 item in the list is currently supported.public FilterCondition withValues(String... values)
An array of strings presenting values to compare. Only 1 item in the list is currently supported.
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
- An array of strings presenting values to compare. Only 1 item in the list is currently supported.public FilterCondition withValues(Collection<String> values)
An array of strings presenting values to compare. Only 1 item in the list is currently supported.
values
- An array of strings presenting values to compare. Only 1 item in the list is currently supported.public String toString()
toString
in class Object
Object.toString()
public FilterCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.