@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldSortExpression extends Object implements Serializable, Cloneable, StructuredPojo
The field sorting order and name of the field.
| Constructor and Description |
|---|
FieldSortExpression() |
| Modifier and Type | Method and Description |
|---|---|
FieldSortExpression |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the field.
|
String |
getSortOrder()
The sort order for the field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the field.
|
void |
setSortOrder(String sortOrder)
The sort order for the field.
|
String |
toString()
Returns a string representation of this object.
|
FieldSortExpression |
withName(String name)
The name of the field.
|
FieldSortExpression |
withSortOrder(SortOrder sortOrder)
The sort order for the field.
|
FieldSortExpression |
withSortOrder(String sortOrder)
The sort order for the field.
|
public void setName(String name)
The name of the field.
name - The name of the field.public String getName()
The name of the field.
public FieldSortExpression withName(String name)
The name of the field.
name - The name of the field.public void setSortOrder(String sortOrder)
The sort order for the field.
sortOrder - The sort order for the field.SortOrderpublic String getSortOrder()
The sort order for the field.
SortOrderpublic FieldSortExpression withSortOrder(String sortOrder)
The sort order for the field.
sortOrder - The sort order for the field.SortOrderpublic FieldSortExpression withSortOrder(SortOrder sortOrder)
The sort order for the field.
sortOrder - The sort order for the field.SortOrderpublic String toString()
toString in class ObjectObject.toString()public FieldSortExpression clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.