@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnSort extends Object implements Serializable, Cloneable, StructuredPojo
The sort configuration for a column that is not used in a field well.
| Constructor and Description |
|---|
ColumnSort() |
| Modifier and Type | Method and Description |
|---|---|
ColumnSort |
clone() |
boolean |
equals(Object obj) |
AggregationFunction |
getAggregationFunction()
The aggregation function that is defined in the column sort.
|
String |
getDirection()
The sort direction.
|
ColumnIdentifier |
getSortBy() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAggregationFunction(AggregationFunction aggregationFunction)
The aggregation function that is defined in the column sort.
|
void |
setDirection(String direction)
The sort direction.
|
void |
setSortBy(ColumnIdentifier sortBy) |
String |
toString()
Returns a string representation of this object.
|
ColumnSort |
withAggregationFunction(AggregationFunction aggregationFunction)
The aggregation function that is defined in the column sort.
|
ColumnSort |
withDirection(SortDirection direction)
The sort direction.
|
ColumnSort |
withDirection(String direction)
The sort direction.
|
ColumnSort |
withSortBy(ColumnIdentifier sortBy) |
public void setSortBy(ColumnIdentifier sortBy)
sortBy - public ColumnIdentifier getSortBy()
public ColumnSort withSortBy(ColumnIdentifier sortBy)
sortBy - public void setDirection(String direction)
The sort direction.
direction - The sort direction.SortDirectionpublic String getDirection()
The sort direction.
SortDirectionpublic ColumnSort withDirection(String direction)
The sort direction.
direction - The sort direction.SortDirectionpublic ColumnSort withDirection(SortDirection direction)
The sort direction.
direction - The sort direction.SortDirectionpublic void setAggregationFunction(AggregationFunction aggregationFunction)
The aggregation function that is defined in the column sort.
aggregationFunction - The aggregation function that is defined in the column sort.public AggregationFunction getAggregationFunction()
The aggregation function that is defined in the column sort.
public ColumnSort withAggregationFunction(AggregationFunction aggregationFunction)
The aggregation function that is defined in the column sort.
aggregationFunction - The aggregation function that is defined in the column sort.public String toString()
toString in class ObjectObject.toString()public ColumnSort clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.