@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.SortOrder
public String getSortOrder()
The sort order for the field.
SortOrder
public FieldSortExpression withSortOrder(String sortOrder)
The sort order for the field.
sortOrder
- The sort order for the field.SortOrder
public FieldSortExpression withSortOrder(SortOrder sortOrder)
The sort order for the field.
sortOrder
- The sort order for the field.SortOrder
public String toString()
toString
in class Object
Object.toString()
public FieldSortExpression clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.