Class PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.autoscaling.inputs.PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.Builder
-
- Enclosing class:
- PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs
public static final class PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgsbuild()PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.BuilderpredefinedMetricType(com.pulumi.core.Output<java.lang.String> predefinedMetricType)PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.BuilderpredefinedMetricType(java.lang.String predefinedMetricType)PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.BuilderresourceLabel(com.pulumi.core.Output<java.lang.String> resourceLabel)PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.BuilderresourceLabel(java.lang.String resourceLabel)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs defaults)
-
-
Method Detail
-
predefinedMetricType
public PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.Builder predefinedMetricType(com.pulumi.core.Output<java.lang.String> predefinedMetricType)
- Parameters:
predefinedMetricType- Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.- Returns:
- builder
-
predefinedMetricType
public PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.Builder predefinedMetricType(java.lang.String predefinedMetricType)
- Parameters:
predefinedMetricType- Describes a scaling metric for a predictive scaling policy. Valid values are `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, or `ALBRequestCountPerTarget`.- Returns:
- builder
-
resourceLabel
public PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.Builder resourceLabel(@Nullable com.pulumi.core.Output<java.lang.String> resourceLabel)
- Parameters:
resourceLabel- Label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). Refer to [PredefinedMetricSpecification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_PredefinedMetricSpecification.html) for more information.- Returns:
- builder
-
resourceLabel
public PolicyPredictiveScalingConfigurationMetricSpecificationPredefinedScalingMetricSpecificationArgs.Builder resourceLabel(java.lang.String resourceLabel)
- Parameters:
resourceLabel- Label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). Refer to [PredefinedMetricSpecification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_PredefinedMetricSpecification.html) for more information.- Returns:
- builder
-
-