@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldSort extends Object implements Serializable, Cloneable, StructuredPojo
The sort configuration for a field in a field well.
| Constructor and Description |
|---|
FieldSort() |
| Modifier and Type | Method and Description |
|---|---|
FieldSort |
clone() |
boolean |
equals(Object obj) |
String |
getDirection()
The sort direction.
|
String |
getFieldId()
The sort configuration target field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDirection(String direction)
The sort direction.
|
void |
setFieldId(String fieldId)
The sort configuration target field.
|
String |
toString()
Returns a string representation of this object.
|
FieldSort |
withDirection(SortDirection direction)
The sort direction.
|
FieldSort |
withDirection(String direction)
The sort direction.
|
FieldSort |
withFieldId(String fieldId)
The sort configuration target field.
|
public void setFieldId(String fieldId)
The sort configuration target field.
fieldId - The sort configuration target field.public String getFieldId()
The sort configuration target field.
public FieldSort withFieldId(String fieldId)
The sort configuration target field.
fieldId - The sort configuration target field.public void setDirection(String direction)
The sort direction. Choose one of the following options:
ASC: Ascending
DESC: Descending
direction - The sort direction. Choose one of the following options:
ASC: Ascending
DESC: Descending
SortDirectionpublic String getDirection()
The sort direction. Choose one of the following options:
ASC: Ascending
DESC: Descending
ASC: Ascending
DESC: Descending
SortDirectionpublic FieldSort withDirection(String direction)
The sort direction. Choose one of the following options:
ASC: Ascending
DESC: Descending
direction - The sort direction. Choose one of the following options:
ASC: Ascending
DESC: Descending
SortDirectionpublic FieldSort withDirection(SortDirection direction)
The sort direction. Choose one of the following options:
ASC: Ascending
DESC: Descending
direction - The sort direction. Choose one of the following options:
ASC: Ascending
DESC: Descending
SortDirectionpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.