@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpsAggregator extends Object implements Serializable, Cloneable, StructuredPojo
One or more aggregators for viewing counts of OpsData using different dimensions such as Source
,
CreatedTime
, or Source and CreatedTime
, to name a few.
Constructor and Description |
---|
OpsAggregator() |
Modifier and Type | Method and Description |
---|---|
OpsAggregator |
addValuesEntry(String key,
String value)
Add a single Values entry
|
OpsAggregator |
clearValuesEntries()
Removes all the entries added into Values.
|
OpsAggregator |
clone() |
boolean |
equals(Object obj) |
List<OpsAggregator> |
getAggregators()
A nested aggregator for viewing counts of OpsData.
|
String |
getAggregatorType()
Either a
Range or Count aggregator for limiting an OpsData summary. |
String |
getAttributeName()
The name of an OpsData attribute on which to limit the count of OpsData.
|
List<OpsFilter> |
getFilters()
The aggregator filters.
|
String |
getTypeName()
The data type name to use for viewing counts of OpsData.
|
Map<String,String> |
getValues()
The aggregator value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregators(Collection<OpsAggregator> aggregators)
A nested aggregator for viewing counts of OpsData.
|
void |
setAggregatorType(String aggregatorType)
Either a
Range or Count aggregator for limiting an OpsData summary. |
void |
setAttributeName(String attributeName)
The name of an OpsData attribute on which to limit the count of OpsData.
|
void |
setFilters(Collection<OpsFilter> filters)
The aggregator filters.
|
void |
setTypeName(String typeName)
The data type name to use for viewing counts of OpsData.
|
void |
setValues(Map<String,String> values)
The aggregator value.
|
String |
toString()
Returns a string representation of this object.
|
OpsAggregator |
withAggregators(Collection<OpsAggregator> aggregators)
A nested aggregator for viewing counts of OpsData.
|
OpsAggregator |
withAggregators(OpsAggregator... aggregators)
A nested aggregator for viewing counts of OpsData.
|
OpsAggregator |
withAggregatorType(String aggregatorType)
Either a
Range or Count aggregator for limiting an OpsData summary. |
OpsAggregator |
withAttributeName(String attributeName)
The name of an OpsData attribute on which to limit the count of OpsData.
|
OpsAggregator |
withFilters(Collection<OpsFilter> filters)
The aggregator filters.
|
OpsAggregator |
withFilters(OpsFilter... filters)
The aggregator filters.
|
OpsAggregator |
withTypeName(String typeName)
The data type name to use for viewing counts of OpsData.
|
OpsAggregator |
withValues(Map<String,String> values)
The aggregator value.
|
public void setAggregatorType(String aggregatorType)
Either a Range
or Count
aggregator for limiting an OpsData summary.
aggregatorType
- Either a Range
or Count
aggregator for limiting an OpsData summary.public String getAggregatorType()
Either a Range
or Count
aggregator for limiting an OpsData summary.
Range
or Count
aggregator for limiting an OpsData summary.public OpsAggregator withAggregatorType(String aggregatorType)
Either a Range
or Count
aggregator for limiting an OpsData summary.
aggregatorType
- Either a Range
or Count
aggregator for limiting an OpsData summary.public void setTypeName(String typeName)
The data type name to use for viewing counts of OpsData.
typeName
- The data type name to use for viewing counts of OpsData.public String getTypeName()
The data type name to use for viewing counts of OpsData.
public OpsAggregator withTypeName(String typeName)
The data type name to use for viewing counts of OpsData.
typeName
- The data type name to use for viewing counts of OpsData.public void setAttributeName(String attributeName)
The name of an OpsData attribute on which to limit the count of OpsData.
attributeName
- The name of an OpsData attribute on which to limit the count of OpsData.public String getAttributeName()
The name of an OpsData attribute on which to limit the count of OpsData.
public OpsAggregator withAttributeName(String attributeName)
The name of an OpsData attribute on which to limit the count of OpsData.
attributeName
- The name of an OpsData attribute on which to limit the count of OpsData.public Map<String,String> getValues()
The aggregator value.
public void setValues(Map<String,String> values)
The aggregator value.
values
- The aggregator value.public OpsAggregator withValues(Map<String,String> values)
The aggregator value.
values
- The aggregator value.public OpsAggregator addValuesEntry(String key, String value)
public OpsAggregator clearValuesEntries()
public List<OpsFilter> getFilters()
The aggregator filters.
public void setFilters(Collection<OpsFilter> filters)
The aggregator filters.
filters
- The aggregator filters.public OpsAggregator withFilters(OpsFilter... filters)
The aggregator filters.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The aggregator filters.public OpsAggregator withFilters(Collection<OpsFilter> filters)
The aggregator filters.
filters
- The aggregator filters.public List<OpsAggregator> getAggregators()
A nested aggregator for viewing counts of OpsData.
public void setAggregators(Collection<OpsAggregator> aggregators)
A nested aggregator for viewing counts of OpsData.
aggregators
- A nested aggregator for viewing counts of OpsData.public OpsAggregator withAggregators(OpsAggregator... aggregators)
A nested aggregator for viewing counts of OpsData.
NOTE: This method appends the values to the existing list (if any). Use
setAggregators(java.util.Collection)
or withAggregators(java.util.Collection)
if you want to
override the existing values.
aggregators
- A nested aggregator for viewing counts of OpsData.public OpsAggregator withAggregators(Collection<OpsAggregator> aggregators)
A nested aggregator for viewing counts of OpsData.
aggregators
- A nested aggregator for viewing counts of OpsData.public String toString()
toString
in class Object
Object.toString()
public OpsAggregator clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.