@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricDimensionGroups extends Object implements Serializable, Cloneable, StructuredPojo
The available dimension information for a metric type.
Constructor and Description |
---|
MetricDimensionGroups() |
Modifier and Type | Method and Description |
---|---|
MetricDimensionGroups |
clone() |
boolean |
equals(Object obj) |
List<DimensionGroupDetail> |
getGroups()
The available dimension groups for a metric type.
|
String |
getMetric()
The metric type to which the dimension information belongs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroups(Collection<DimensionGroupDetail> groups)
The available dimension groups for a metric type.
|
void |
setMetric(String metric)
The metric type to which the dimension information belongs.
|
String |
toString()
Returns a string representation of this object.
|
MetricDimensionGroups |
withGroups(Collection<DimensionGroupDetail> groups)
The available dimension groups for a metric type.
|
MetricDimensionGroups |
withGroups(DimensionGroupDetail... groups)
The available dimension groups for a metric type.
|
MetricDimensionGroups |
withMetric(String metric)
The metric type to which the dimension information belongs.
|
public void setMetric(String metric)
The metric type to which the dimension information belongs.
metric
- The metric type to which the dimension information belongs.public String getMetric()
The metric type to which the dimension information belongs.
public MetricDimensionGroups withMetric(String metric)
The metric type to which the dimension information belongs.
metric
- The metric type to which the dimension information belongs.public List<DimensionGroupDetail> getGroups()
The available dimension groups for a metric type.
public void setGroups(Collection<DimensionGroupDetail> groups)
The available dimension groups for a metric type.
groups
- The available dimension groups for a metric type.public MetricDimensionGroups withGroups(DimensionGroupDetail... groups)
The available dimension groups for a metric type.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- The available dimension groups for a metric type.public MetricDimensionGroups withGroups(Collection<DimensionGroupDetail> groups)
The available dimension groups for a metric type.
groups
- The available dimension groups for a metric type.public String toString()
toString
in class Object
Object.toString()
public MetricDimensionGroups clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.