@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
SortDirection
public String getDirection()
The sort direction. Choose one of the following options:
ASC
: Ascending
DESC
: Descending
ASC
: Ascending
DESC
: Descending
SortDirection
public 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
SortDirection
public 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
SortDirection
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.