@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SortCondition extends Object implements Serializable, Cloneable, StructuredPojo
Information for sorting a list of domains.
Constructor and Description |
---|
SortCondition() |
Modifier and Type | Method and Description |
---|---|
SortCondition |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Field to be used for sorting the list of domains.
|
String |
getSortOrder()
The sort order for a list of domains.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
Field to be used for sorting the list of domains.
|
void |
setSortOrder(String sortOrder)
The sort order for a list of domains.
|
String |
toString()
Returns a string representation of this object.
|
SortCondition |
withName(ListDomainsAttributeName name)
Field to be used for sorting the list of domains.
|
SortCondition |
withName(String name)
Field to be used for sorting the list of domains.
|
SortCondition |
withSortOrder(SortOrder sortOrder)
The sort order for a list of domains.
|
SortCondition |
withSortOrder(String sortOrder)
The sort order for a list of domains.
|
public void setName(String name)
Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note
that if filterCondition
is used in the same ListDomains
call, the field used for sorting has to be the same as the field used for filtering.
name
- Field to be used for sorting the list of domains. It can be either the name or the expiration for a
domain. Note that if filterCondition
is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.ListDomainsAttributeName
public String getName()
Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note
that if filterCondition
is used in the same ListDomains
call, the field used for sorting has to be the same as the field used for filtering.
filterCondition
is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.ListDomainsAttributeName
public SortCondition withName(String name)
Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note
that if filterCondition
is used in the same ListDomains
call, the field used for sorting has to be the same as the field used for filtering.
name
- Field to be used for sorting the list of domains. It can be either the name or the expiration for a
domain. Note that if filterCondition
is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.ListDomainsAttributeName
public SortCondition withName(ListDomainsAttributeName name)
Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note
that if filterCondition
is used in the same ListDomains
call, the field used for sorting has to be the same as the field used for filtering.
name
- Field to be used for sorting the list of domains. It can be either the name or the expiration for a
domain. Note that if filterCondition
is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.ListDomainsAttributeName
public void setSortOrder(String sortOrder)
The sort order for a list of domains. Either ascending (ASC) or descending (DES).
sortOrder
- The sort order for a list of domains. Either ascending (ASC) or descending (DES).SortOrder
public String getSortOrder()
The sort order for a list of domains. Either ascending (ASC) or descending (DES).
SortOrder
public SortCondition withSortOrder(String sortOrder)
The sort order for a list of domains. Either ascending (ASC) or descending (DES).
sortOrder
- The sort order for a list of domains. Either ascending (ASC) or descending (DES).SortOrder
public SortCondition withSortOrder(SortOrder sortOrder)
The sort order for a list of domains. Either ascending (ASC) or descending (DES).
sortOrder
- The sort order for a list of domains. Either ascending (ASC) or descending (DES).SortOrder
public String toString()
toString
in class Object
Object.toString()
public SortCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.