@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 OpsItems 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 OpsItems.
|
String |
getAggregatorType()
Either a Range or Count aggregator for limiting an OpsItem summary.
|
String |
getAttributeName()
The name of an OpsItem attribute on which to limit the count of OpsItems.
|
List<OpsFilter> |
getFilters()
The aggregator filters.
|
String |
getTypeName()
The data type name to use for viewing counts of OpsItems.
|
Map<String,String> |
getValues()
The aggregator value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAggregators(Collection<OpsAggregator> aggregators)
A nested aggregator for viewing counts of OpsItems.
|
void |
setAggregatorType(String aggregatorType)
Either a Range or Count aggregator for limiting an OpsItem summary.
|
void |
setAttributeName(String attributeName)
The name of an OpsItem attribute on which to limit the count of OpsItems.
|
void |
setFilters(Collection<OpsFilter> filters)
The aggregator filters.
|
void |
setTypeName(String typeName)
The data type name to use for viewing counts of OpsItems.
|
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 OpsItems.
|
OpsAggregator |
withAggregators(OpsAggregator... aggregators)
A nested aggregator for viewing counts of OpsItems.
|
OpsAggregator |
withAggregatorType(String aggregatorType)
Either a Range or Count aggregator for limiting an OpsItem summary.
|
OpsAggregator |
withAttributeName(String attributeName)
The name of an OpsItem attribute on which to limit the count of OpsItems.
|
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 OpsItems.
|
OpsAggregator |
withValues(Map<String,String> values)
The aggregator value.
|
public void setAggregatorType(String aggregatorType)
Either a Range or Count aggregator for limiting an OpsItem summary.
aggregatorType
- Either a Range or Count aggregator for limiting an OpsItem summary.public String getAggregatorType()
Either a Range or Count aggregator for limiting an OpsItem summary.
public OpsAggregator withAggregatorType(String aggregatorType)
Either a Range or Count aggregator for limiting an OpsItem summary.
aggregatorType
- Either a Range or Count aggregator for limiting an OpsItem summary.public void setTypeName(String typeName)
The data type name to use for viewing counts of OpsItems.
typeName
- The data type name to use for viewing counts of OpsItems.public String getTypeName()
The data type name to use for viewing counts of OpsItems.
public OpsAggregator withTypeName(String typeName)
The data type name to use for viewing counts of OpsItems.
typeName
- The data type name to use for viewing counts of OpsItems.public void setAttributeName(String attributeName)
The name of an OpsItem attribute on which to limit the count of OpsItems.
attributeName
- The name of an OpsItem attribute on which to limit the count of OpsItems.public String getAttributeName()
The name of an OpsItem attribute on which to limit the count of OpsItems.
public OpsAggregator withAttributeName(String attributeName)
The name of an OpsItem attribute on which to limit the count of OpsItems.
attributeName
- The name of an OpsItem attribute on which to limit the count of OpsItems.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 OpsItems.
public void setAggregators(Collection<OpsAggregator> aggregators)
A nested aggregator for viewing counts of OpsItems.
aggregators
- A nested aggregator for viewing counts of OpsItems.public OpsAggregator withAggregators(OpsAggregator... aggregators)
A nested aggregator for viewing counts of OpsItems.
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 OpsItems.public OpsAggregator withAggregators(Collection<OpsAggregator> aggregators)
A nested aggregator for viewing counts of OpsItems.
aggregators
- A nested aggregator for viewing counts of OpsItems.public String toString()
toString
in class Object
Object.toString()
public OpsAggregator clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.