@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Sort extends Object implements Serializable, Cloneable, StructuredPojo
A structured set of sort terms.
Constructor and Description |
---|
Sort() |
Modifier and Type | Method and Description |
---|---|
Sort |
clone() |
boolean |
equals(Object obj) |
String |
getFieldId()
Unique identifier of a field.
|
String |
getSortOrder()
A structured set of sort terms
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFieldId(String fieldId)
Unique identifier of a field.
|
void |
setSortOrder(String sortOrder)
A structured set of sort terms
|
String |
toString()
Returns a string representation of this object.
|
Sort |
withFieldId(String fieldId)
Unique identifier of a field.
|
Sort |
withSortOrder(Order sortOrder)
A structured set of sort terms
|
Sort |
withSortOrder(String sortOrder)
A structured set of sort terms
|
public void setFieldId(String fieldId)
Unique identifier of a field.
fieldId
- Unique identifier of a field.public String getFieldId()
Unique identifier of a field.
public Sort withFieldId(String fieldId)
Unique identifier of a field.
fieldId
- Unique identifier of a field.public void setSortOrder(String sortOrder)
A structured set of sort terms
sortOrder
- A structured set of sort termsOrder
public String getSortOrder()
A structured set of sort terms
Order
public Sort withSortOrder(String sortOrder)
A structured set of sort terms
sortOrder
- A structured set of sort termsOrder
public Sort withSortOrder(Order sortOrder)
A structured set of sort terms
sortOrder
- A structured set of sort termsOrder
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.