@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PredictiveScalingCustomizedCapacityMetric extends Object implements Serializable, Cloneable
Describes a customized capacity metric for a predictive scaling policy.
Constructor and Description |
---|
PredictiveScalingCustomizedCapacityMetric() |
Modifier and Type | Method and Description |
---|---|
PredictiveScalingCustomizedCapacityMetric |
clone() |
boolean |
equals(Object obj) |
List<MetricDataQuery> |
getMetricDataQueries()
One or more metric data queries to provide the data points for a capacity metric.
|
int |
hashCode() |
void |
setMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
One or more metric data queries to provide the data points for a capacity metric.
|
String |
toString()
Returns a string representation of this object.
|
PredictiveScalingCustomizedCapacityMetric |
withMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
One or more metric data queries to provide the data points for a capacity metric.
|
PredictiveScalingCustomizedCapacityMetric |
withMetricDataQueries(MetricDataQuery... metricDataQueries)
One or more metric data queries to provide the data points for a capacity metric.
|
public PredictiveScalingCustomizedCapacityMetric()
public List<MetricDataQuery> getMetricDataQueries()
One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.
public void setMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.
metricDataQueries
- One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data
queries only if you are performing a math expression on returned data.public PredictiveScalingCustomizedCapacityMetric withMetricDataQueries(MetricDataQuery... metricDataQueries)
One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.
NOTE: This method appends the values to the existing list (if any). Use
setMetricDataQueries(java.util.Collection)
or withMetricDataQueries(java.util.Collection)
if
you want to override the existing values.
metricDataQueries
- One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data
queries only if you are performing a math expression on returned data.public PredictiveScalingCustomizedCapacityMetric withMetricDataQueries(Collection<MetricDataQuery> metricDataQueries)
One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.
metricDataQueries
- One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data
queries only if you are performing a math expression on returned data.public String toString()
toString
in class Object
Object.toString()
public PredictiveScalingCustomizedCapacityMetric clone()