@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregationSortConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration options to sort aggregated values.
Constructor and Description |
---|
AggregationSortConfiguration() |
Modifier and Type | Method and Description |
---|---|
AggregationSortConfiguration |
clone() |
boolean |
equals(Object obj) |
AggregationFunction |
getAggregationFunction()
The function that aggregates the values in
Column . |
ColumnIdentifier |
getColumn()
The column that determines the sort order of aggregated values.
|
String |
getSortDirection()
The sort direction of values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregationFunction(AggregationFunction aggregationFunction)
The function that aggregates the values in
Column . |
void |
setColumn(ColumnIdentifier column)
The column that determines the sort order of aggregated values.
|
void |
setSortDirection(String sortDirection)
The sort direction of values.
|
String |
toString()
Returns a string representation of this object.
|
AggregationSortConfiguration |
withAggregationFunction(AggregationFunction aggregationFunction)
The function that aggregates the values in
Column . |
AggregationSortConfiguration |
withColumn(ColumnIdentifier column)
The column that determines the sort order of aggregated values.
|
AggregationSortConfiguration |
withSortDirection(SortDirection sortDirection)
The sort direction of values.
|
AggregationSortConfiguration |
withSortDirection(String sortDirection)
The sort direction of values.
|
public void setColumn(ColumnIdentifier column)
The column that determines the sort order of aggregated values.
column
- The column that determines the sort order of aggregated values.public ColumnIdentifier getColumn()
The column that determines the sort order of aggregated values.
public AggregationSortConfiguration withColumn(ColumnIdentifier column)
The column that determines the sort order of aggregated values.
column
- The column that determines the sort order of aggregated values.public void setSortDirection(String sortDirection)
The sort direction of values.
ASC
: Sort in ascending order.
DESC
: Sort in descending order.
sortDirection
- The sort direction of values.
ASC
: Sort in ascending order.
DESC
: Sort in descending order.
SortDirection
public String getSortDirection()
The sort direction of values.
ASC
: Sort in ascending order.
DESC
: Sort in descending order.
ASC
: Sort in ascending order.
DESC
: Sort in descending order.
SortDirection
public AggregationSortConfiguration withSortDirection(String sortDirection)
The sort direction of values.
ASC
: Sort in ascending order.
DESC
: Sort in descending order.
sortDirection
- The sort direction of values.
ASC
: Sort in ascending order.
DESC
: Sort in descending order.
SortDirection
public AggregationSortConfiguration withSortDirection(SortDirection sortDirection)
The sort direction of values.
ASC
: Sort in ascending order.
DESC
: Sort in descending order.
sortDirection
- The sort direction of values.
ASC
: Sort in ascending order.
DESC
: Sort in descending order.
SortDirection
public void setAggregationFunction(AggregationFunction aggregationFunction)
The function that aggregates the values in Column
.
aggregationFunction
- The function that aggregates the values in Column
.public AggregationFunction getAggregationFunction()
The function that aggregates the values in Column
.
Column
.public AggregationSortConfiguration withAggregationFunction(AggregationFunction aggregationFunction)
The function that aggregates the values in Column
.
aggregationFunction
- The function that aggregates the values in Column
.public String toString()
toString
in class Object
Object.toString()
public AggregationSortConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.