Class PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric
- java.lang.Object
-
- com.pulumi.aws.autoscaling.outputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric
-
public final class PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric.Builder
builder()
static PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric.Builder
builder(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric defaults)
java.util.Optional<java.lang.String>
expression()
java.lang.String
id()
java.util.Optional<java.lang.String>
label()
java.util.Optional<PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStat>
metricStat()
java.util.Optional<java.lang.Boolean>
returnData()
-
-
-
Method Detail
-
expression
public java.util.Optional<java.lang.String> expression()
- Returns:
- Math expression used on the returned metric. You must specify either `expression` or `metric_stat`, but not both.
-
id
public java.lang.String id()
- Returns:
- Short name for the metric used in target tracking scaling policy.
-
label
public java.util.Optional<java.lang.String> label()
- Returns:
- Human-readable label for this metric or expression.
-
metricStat
public java.util.Optional<PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStat> metricStat()
- Returns:
- Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either `expression` or `metric_stat`, but not both.
-
returnData
public java.util.Optional<java.lang.Boolean> returnData()
- Returns:
- Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true
-
builder
public static PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric.Builder builder()
-
builder
public static PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric.Builder builder(PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric defaults)
-
-