Class PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.appautoscaling.inputs.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder
-
- Enclosing class:
- PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs
public static final class PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs defaults)
-
-
Method Detail
-
expression
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder expression(@Nullable com.pulumi.core.Output<java.lang.String> expression)
- Parameters:
expression
- Math expression used on the returned metric. You must specify either `expression` or `metric_stat`, but not both.- Returns:
- builder
-
expression
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder expression(java.lang.String expression)
- Parameters:
expression
- Math expression used on the returned metric. You must specify either `expression` or `metric_stat`, but not both.- Returns:
- builder
-
id
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder id(com.pulumi.core.Output<java.lang.String> id)
- Parameters:
id
- Short name for the metric used in target tracking scaling policy.- Returns:
- builder
-
id
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder id(java.lang.String id)
- Parameters:
id
- Short name for the metric used in target tracking scaling policy.- Returns:
- builder
-
label
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder label(@Nullable com.pulumi.core.Output<java.lang.String> label)
- Parameters:
label
- Human-readable label for this metric or expression.- Returns:
- builder
-
label
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder label(java.lang.String label)
- Parameters:
label
- Human-readable label for this metric or expression.- Returns:
- builder
-
metricStat
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder metricStat(@Nullable com.pulumi.core.Output<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs> metricStat)
- Parameters:
metricStat
- Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either `expression` or `metric_stat`, but not both.- Returns:
- builder
-
metricStat
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder metricStat(PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs metricStat)
- Parameters:
metricStat
- Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either `expression` or `metric_stat`, but not both.- Returns:
- builder
-
returnData
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder returnData(@Nullable com.pulumi.core.Output<java.lang.Boolean> returnData)
- Parameters:
returnData
- Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true- Returns:
- builder
-
returnData
public PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs.Builder returnData(java.lang.Boolean returnData)
- Parameters:
returnData
- Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true- Returns:
- builder
-
-