@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggFunction extends Object implements Serializable, Cloneable, StructuredPojo
The definition of an Agg function.
| Constructor and Description |
|---|
AggFunction() |
| Modifier and Type | Method and Description |
|---|---|
AggFunction |
addAggregationFunctionParametersEntry(String key,
String value)
Add a single AggregationFunctionParameters entry
|
AggFunction |
clearAggregationFunctionParametersEntries()
Removes all the entries added into AggregationFunctionParameters.
|
AggFunction |
clone() |
boolean |
equals(Object obj) |
String |
getAggregation()
The aggregation of an Agg function.
|
Map<String,String> |
getAggregationFunctionParameters()
The aggregation parameters for an Agg function.
|
String |
getPeriod()
The period of an Agg function.
|
String |
getPeriodField()
The period field for an Agg function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAggregation(String aggregation)
The aggregation of an Agg function.
|
void |
setAggregationFunctionParameters(Map<String,String> aggregationFunctionParameters)
The aggregation parameters for an Agg function.
|
void |
setPeriod(String period)
The period of an Agg function.
|
void |
setPeriodField(String periodField)
The period field for an Agg function.
|
String |
toString()
Returns a string representation of this object.
|
AggFunction |
withAggregation(AggType aggregation)
The aggregation of an Agg function.
|
AggFunction |
withAggregation(String aggregation)
The aggregation of an Agg function.
|
AggFunction |
withAggregationFunctionParameters(Map<String,String> aggregationFunctionParameters)
The aggregation parameters for an Agg function.
|
AggFunction |
withPeriod(String period)
The period of an Agg function.
|
AggFunction |
withPeriod(TopicTimeGranularity period)
The period of an Agg function.
|
AggFunction |
withPeriodField(String periodField)
The period field for an Agg function.
|
public void setAggregation(String aggregation)
The aggregation of an Agg function.
aggregation - The aggregation of an Agg function.AggTypepublic String getAggregation()
The aggregation of an Agg function.
AggTypepublic AggFunction withAggregation(String aggregation)
The aggregation of an Agg function.
aggregation - The aggregation of an Agg function.AggTypepublic AggFunction withAggregation(AggType aggregation)
The aggregation of an Agg function.
aggregation - The aggregation of an Agg function.AggTypepublic Map<String,String> getAggregationFunctionParameters()
The aggregation parameters for an Agg function.
public void setAggregationFunctionParameters(Map<String,String> aggregationFunctionParameters)
The aggregation parameters for an Agg function.
aggregationFunctionParameters - The aggregation parameters for an Agg function.public AggFunction withAggregationFunctionParameters(Map<String,String> aggregationFunctionParameters)
The aggregation parameters for an Agg function.
aggregationFunctionParameters - The aggregation parameters for an Agg function.public AggFunction addAggregationFunctionParametersEntry(String key, String value)
public AggFunction clearAggregationFunctionParametersEntries()
public void setPeriod(String period)
The period of an Agg function.
period - The period of an Agg function.TopicTimeGranularitypublic String getPeriod()
The period of an Agg function.
TopicTimeGranularitypublic AggFunction withPeriod(String period)
The period of an Agg function.
period - The period of an Agg function.TopicTimeGranularitypublic AggFunction withPeriod(TopicTimeGranularity period)
The period of an Agg function.
period - The period of an Agg function.TopicTimeGranularitypublic void setPeriodField(String periodField)
The period field for an Agg function.
periodField - The period field for an Agg function.public String getPeriodField()
The period field for an Agg function.
public AggFunction withPeriodField(String periodField)
The period field for an Agg function.
periodField - The period field for an Agg function.public String toString()
toString in class ObjectObject.toString()public AggFunction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.