@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregateColumn extends Object implements Serializable, Cloneable, StructuredPojo
Column in configured table that can be used in aggregate function in query.
Constructor and Description |
---|
AggregateColumn() |
Modifier and Type | Method and Description |
---|---|
AggregateColumn |
clone() |
boolean |
equals(Object obj) |
List<String> |
getColumnNames()
Column names in configured table of aggregate columns.
|
String |
getFunction()
Aggregation function that can be applied to aggregate column in query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumnNames(Collection<String> columnNames)
Column names in configured table of aggregate columns.
|
void |
setFunction(String function)
Aggregation function that can be applied to aggregate column in query.
|
String |
toString()
Returns a string representation of this object.
|
AggregateColumn |
withColumnNames(Collection<String> columnNames)
Column names in configured table of aggregate columns.
|
AggregateColumn |
withColumnNames(String... columnNames)
Column names in configured table of aggregate columns.
|
AggregateColumn |
withFunction(AggregateFunctionName function)
Aggregation function that can be applied to aggregate column in query.
|
AggregateColumn |
withFunction(String function)
Aggregation function that can be applied to aggregate column in query.
|
public List<String> getColumnNames()
Column names in configured table of aggregate columns.
public void setColumnNames(Collection<String> columnNames)
Column names in configured table of aggregate columns.
columnNames
- Column names in configured table of aggregate columns.public AggregateColumn withColumnNames(String... columnNames)
Column names in configured table of aggregate columns.
NOTE: This method appends the values to the existing list (if any). Use
setColumnNames(java.util.Collection)
or withColumnNames(java.util.Collection)
if you want to
override the existing values.
columnNames
- Column names in configured table of aggregate columns.public AggregateColumn withColumnNames(Collection<String> columnNames)
Column names in configured table of aggregate columns.
columnNames
- Column names in configured table of aggregate columns.public void setFunction(String function)
Aggregation function that can be applied to aggregate column in query.
function
- Aggregation function that can be applied to aggregate column in query.AggregateFunctionName
public String getFunction()
Aggregation function that can be applied to aggregate column in query.
AggregateFunctionName
public AggregateColumn withFunction(String function)
Aggregation function that can be applied to aggregate column in query.
function
- Aggregation function that can be applied to aggregate column in query.AggregateFunctionName
public AggregateColumn withFunction(AggregateFunctionName function)
Aggregation function that can be applied to aggregate column in query.
function
- Aggregation function that can be applied to aggregate column in query.AggregateFunctionName
public String toString()
toString
in class Object
Object.toString()
public AggregateColumn clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.