Class AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.autoscalingplans_scaling_plan.AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification>
- Enclosing interface:
- AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification
@Stability(Stable) public static final class AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification.Builder extends Object implements software.amazon.jsii.Builder<AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecificationbuild()Builds the configured instance.AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification.BuilderpredefinedLoadMetricType(String predefinedLoadMetricType)AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification.BuilderresourceLabel(String resourceLabel)
-
-
-
Method Detail
-
predefinedLoadMetricType
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification.Builder predefinedLoadMetricType(String predefinedLoadMetricType)
Sets the value ofAutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification.getPredefinedLoadMetricType()- Parameters:
predefinedLoadMetricType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#predefined_load_metric_type AutoscalingplansScalingPlan#predefined_load_metric_type}. This parameter is required.- Returns:
this
-
resourceLabel
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification.Builder resourceLabel(String resourceLabel)
Sets the value ofAutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification.getResourceLabel()- Parameters:
resourceLabel- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#resource_label AutoscalingplansScalingPlan#resource_label}.- Returns:
this
-
build
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification>- Returns:
- a new instance of
AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification - Throws:
NullPointerException- if any required attribute was not provided
-
-