@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.SortDirection
public String getDirection()
The sort direction.
SortDirection
public ColumnSort withDirection(String direction)
The sort direction.
direction
- The sort direction.SortDirection
public ColumnSort withDirection(SortDirection direction)
The sort direction.
direction
- The sort direction.SortDirection
public 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 Object
Object.toString()
public ColumnSort clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.