@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricSpecification extends Object implements Serializable, Cloneable, StructuredPojo
An object containing information about a metric.
Constructor and Description |
---|
MetricSpecification() |
Modifier and Type | Method and Description |
---|---|
MetricSpecification |
clone() |
boolean |
equals(Object obj) |
CustomizedMetricSpecification |
getCustomized()
Information about a customized metric.
|
PredefinedMetricSpecification |
getPredefined()
Information about a predefined metric.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomized(CustomizedMetricSpecification customized)
Information about a customized metric.
|
void |
setPredefined(PredefinedMetricSpecification predefined)
Information about a predefined metric.
|
String |
toString()
Returns a string representation of this object.
|
MetricSpecification |
withCustomized(CustomizedMetricSpecification customized)
Information about a customized metric.
|
MetricSpecification |
withPredefined(PredefinedMetricSpecification predefined)
Information about a predefined metric.
|
public void setPredefined(PredefinedMetricSpecification predefined)
Information about a predefined metric.
predefined
- Information about a predefined metric.public PredefinedMetricSpecification getPredefined()
Information about a predefined metric.
public MetricSpecification withPredefined(PredefinedMetricSpecification predefined)
Information about a predefined metric.
predefined
- Information about a predefined metric.public void setCustomized(CustomizedMetricSpecification customized)
Information about a customized metric.
customized
- Information about a customized metric.public CustomizedMetricSpecification getCustomized()
Information about a customized metric.
public MetricSpecification withCustomized(CustomizedMetricSpecification customized)
Information about a customized metric.
customized
- Information about a customized metric.public String toString()
toString
in class Object
Object.toString()
public MetricSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.