@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PredefinedMetricSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Configures a predefined metric for a target tracking policy.
| Constructor and Description |
|---|
PredefinedMetricSpecification() |
| Modifier and Type | Method and Description |
|---|---|
PredefinedMetricSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getPredefinedMetricType()
The metric type.
|
String |
getResourceLabel()
Reserved for future use.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPredefinedMetricType(MetricType predefinedMetricType)
The metric type.
|
void |
setPredefinedMetricType(String predefinedMetricType)
The metric type.
|
void |
setResourceLabel(String resourceLabel)
Reserved for future use.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PredefinedMetricSpecification |
withPredefinedMetricType(MetricType predefinedMetricType)
The metric type.
|
PredefinedMetricSpecification |
withPredefinedMetricType(String predefinedMetricType)
The metric type.
|
PredefinedMetricSpecification |
withResourceLabel(String resourceLabel)
Reserved for future use.
|
public void setPredefinedMetricType(String predefinedMetricType)
The metric type.
predefinedMetricType - The metric type.MetricTypepublic String getPredefinedMetricType()
The metric type.
MetricTypepublic PredefinedMetricSpecification withPredefinedMetricType(String predefinedMetricType)
The metric type.
predefinedMetricType - The metric type.MetricTypepublic void setPredefinedMetricType(MetricType predefinedMetricType)
The metric type.
predefinedMetricType - The metric type.MetricTypepublic PredefinedMetricSpecification withPredefinedMetricType(MetricType predefinedMetricType)
The metric type.
predefinedMetricType - The metric type.MetricTypepublic void setResourceLabel(String resourceLabel)
Reserved for future use.
resourceLabel - Reserved for future use.public String getResourceLabel()
Reserved for future use.
public PredefinedMetricSpecification withResourceLabel(String resourceLabel)
Reserved for future use.
resourceLabel - Reserved for future use.public String toString()
toString in class ObjectObject.toString()public PredefinedMetricSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.