@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.MetricType
public String getPredefinedMetricType()
The metric type.
MetricType
public PredefinedMetricSpecification withPredefinedMetricType(String predefinedMetricType)
The metric type.
predefinedMetricType
- The metric type.MetricType
public void setPredefinedMetricType(MetricType predefinedMetricType)
The metric type.
predefinedMetricType
- The metric type.MetricType
public PredefinedMetricSpecification withPredefinedMetricType(MetricType predefinedMetricType)
The metric type.
predefinedMetricType
- The metric type.MetricType
public 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 Object
Object.toString()
public PredefinedMetricSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.