@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.ListDomainsAttributeNamepublic 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.ListDomainsAttributeNamepublic 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.ListDomainsAttributeNamepublic 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.ListDomainsAttributeNamepublic 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).SortOrderpublic String getSortOrder()
The sort order for a list of domains. Either ascending (ASC) or descending (DES).
SortOrderpublic 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).SortOrderpublic 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).SortOrderpublic String toString()
toString in class ObjectObject.toString()public SortCondition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.