@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.AggType
public String getAggregation()
The aggregation of an Agg function.
AggType
public AggFunction withAggregation(String aggregation)
The aggregation of an Agg function.
aggregation
- The aggregation of an Agg function.AggType
public AggFunction withAggregation(AggType aggregation)
The aggregation of an Agg function.
aggregation
- The aggregation of an Agg function.AggType
public 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.TopicTimeGranularity
public String getPeriod()
The period of an Agg function.
TopicTimeGranularity
public AggFunction withPeriod(String period)
The period of an Agg function.
period
- The period of an Agg function.TopicTimeGranularity
public AggFunction withPeriod(TopicTimeGranularity period)
The period of an Agg function.
period
- The period of an Agg function.TopicTimeGranularity
public 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 Object
Object.toString()
public AggFunction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.