@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NamedEntityDefinitionMetric extends Object implements Serializable, Cloneable, StructuredPojo
A structure that represents a metric.
| Constructor and Description |
|---|
NamedEntityDefinitionMetric() |
| Modifier and Type | Method and Description |
|---|---|
NamedEntityDefinitionMetric |
addAggregationFunctionParametersEntry(String key,
String value)
Add a single AggregationFunctionParameters entry
|
NamedEntityDefinitionMetric |
clearAggregationFunctionParametersEntries()
Removes all the entries added into AggregationFunctionParameters.
|
NamedEntityDefinitionMetric |
clone() |
boolean |
equals(Object obj) |
String |
getAggregation()
The aggregation of a named entity.
|
Map<String,String> |
getAggregationFunctionParameters()
The additional parameters for an aggregation function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAggregation(String aggregation)
The aggregation of a named entity.
|
void |
setAggregationFunctionParameters(Map<String,String> aggregationFunctionParameters)
The additional parameters for an aggregation function.
|
String |
toString()
Returns a string representation of this object.
|
NamedEntityDefinitionMetric |
withAggregation(NamedEntityAggType aggregation)
The aggregation of a named entity.
|
NamedEntityDefinitionMetric |
withAggregation(String aggregation)
The aggregation of a named entity.
|
NamedEntityDefinitionMetric |
withAggregationFunctionParameters(Map<String,String> aggregationFunctionParameters)
The additional parameters for an aggregation function.
|
public void setAggregation(String aggregation)
The aggregation of a named entity. Valid values for this structure are SUM, MIN,
MAX, COUNT, AVERAGE, DISTINCT_COUNT, STDEV,
STDEVP, VAR, VARP, PERCENTILE, MEDIAN, and
CUSTOM.
aggregation - The aggregation of a named entity. Valid values for this structure are SUM, MIN,
MAX, COUNT, AVERAGE, DISTINCT_COUNT,
STDEV, STDEVP, VAR, VARP, PERCENTILE,
MEDIAN, and CUSTOM.NamedEntityAggTypepublic String getAggregation()
The aggregation of a named entity. Valid values for this structure are SUM, MIN,
MAX, COUNT, AVERAGE, DISTINCT_COUNT, STDEV,
STDEVP, VAR, VARP, PERCENTILE, MEDIAN, and
CUSTOM.
SUM, MIN
, MAX, COUNT, AVERAGE, DISTINCT_COUNT,
STDEV, STDEVP, VAR, VARP, PERCENTILE,
MEDIAN, and CUSTOM.NamedEntityAggTypepublic NamedEntityDefinitionMetric withAggregation(String aggregation)
The aggregation of a named entity. Valid values for this structure are SUM, MIN,
MAX, COUNT, AVERAGE, DISTINCT_COUNT, STDEV,
STDEVP, VAR, VARP, PERCENTILE, MEDIAN, and
CUSTOM.
aggregation - The aggregation of a named entity. Valid values for this structure are SUM, MIN,
MAX, COUNT, AVERAGE, DISTINCT_COUNT,
STDEV, STDEVP, VAR, VARP, PERCENTILE,
MEDIAN, and CUSTOM.NamedEntityAggTypepublic NamedEntityDefinitionMetric withAggregation(NamedEntityAggType aggregation)
The aggregation of a named entity. Valid values for this structure are SUM, MIN,
MAX, COUNT, AVERAGE, DISTINCT_COUNT, STDEV,
STDEVP, VAR, VARP, PERCENTILE, MEDIAN, and
CUSTOM.
aggregation - The aggregation of a named entity. Valid values for this structure are SUM, MIN,
MAX, COUNT, AVERAGE, DISTINCT_COUNT,
STDEV, STDEVP, VAR, VARP, PERCENTILE,
MEDIAN, and CUSTOM.NamedEntityAggTypepublic Map<String,String> getAggregationFunctionParameters()
The additional parameters for an aggregation function.
public void setAggregationFunctionParameters(Map<String,String> aggregationFunctionParameters)
The additional parameters for an aggregation function.
aggregationFunctionParameters - The additional parameters for an aggregation function.public NamedEntityDefinitionMetric withAggregationFunctionParameters(Map<String,String> aggregationFunctionParameters)
The additional parameters for an aggregation function.
aggregationFunctionParameters - The additional parameters for an aggregation function.public NamedEntityDefinitionMetric addAggregationFunctionParametersEntry(String key, String value)
public NamedEntityDefinitionMetric clearAggregationFunctionParametersEntries()
public String toString()
toString in class ObjectObject.toString()public NamedEntityDefinitionMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.