Class AutoscalingplansScalingPlanScalingInstruction.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.autoscalingplans_scaling_plan.AutoscalingplansScalingPlanScalingInstruction.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AutoscalingplansScalingPlanScalingInstruction>
- Enclosing interface:
- AutoscalingplansScalingPlanScalingInstruction
@Stability(Stable) public static final class AutoscalingplansScalingPlanScalingInstruction.Builder extends Object implements software.amazon.jsii.Builder<AutoscalingplansScalingPlanScalingInstruction>
A builder forAutoscalingplansScalingPlanScalingInstruction
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
maxCapacity
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder maxCapacity(Number maxCapacity)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getMaxCapacity()- Parameters:
maxCapacity- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#max_capacity AutoscalingplansScalingPlan#max_capacity}. This parameter is required.- Returns:
this
-
minCapacity
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder minCapacity(Number minCapacity)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getMinCapacity()- Parameters:
minCapacity- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#min_capacity AutoscalingplansScalingPlan#min_capacity}. This parameter is required.- Returns:
this
-
resourceId
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder resourceId(String resourceId)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getResourceId()- Parameters:
resourceId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#resource_id AutoscalingplansScalingPlan#resource_id}. This parameter is required.- Returns:
this
-
scalableDimension
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder scalableDimension(String scalableDimension)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getScalableDimension()- Parameters:
scalableDimension- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#scalable_dimension AutoscalingplansScalingPlan#scalable_dimension}. This parameter is required.- Returns:
this
-
serviceNamespace
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder serviceNamespace(String serviceNamespace)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getServiceNamespace()- Parameters:
serviceNamespace- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#service_namespace AutoscalingplansScalingPlan#service_namespace}. This parameter is required.- Returns:
this
-
targetTrackingConfiguration
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder targetTrackingConfiguration(com.hashicorp.cdktf.IResolvable targetTrackingConfiguration)
- Parameters:
targetTrackingConfiguration- target_tracking_configuration block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#target_tracking_configuration AutoscalingplansScalingPlan#target_tracking_configuration}- Returns:
this
-
targetTrackingConfiguration
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder targetTrackingConfiguration(List<? extends AutoscalingplansScalingPlanScalingInstructionTargetTrackingConfiguration> targetTrackingConfiguration)
- Parameters:
targetTrackingConfiguration- target_tracking_configuration block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#target_tracking_configuration AutoscalingplansScalingPlan#target_tracking_configuration}- Returns:
this
-
customizedLoadMetricSpecification
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder customizedLoadMetricSpecification(AutoscalingplansScalingPlanScalingInstructionCustomizedLoadMetricSpecification customizedLoadMetricSpecification)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getCustomizedLoadMetricSpecification()- Parameters:
customizedLoadMetricSpecification- customized_load_metric_specification block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#customized_load_metric_specification AutoscalingplansScalingPlan#customized_load_metric_specification}- Returns:
this
-
disableDynamicScaling
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder disableDynamicScaling(Boolean disableDynamicScaling)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getDisableDynamicScaling()- Parameters:
disableDynamicScaling- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#disable_dynamic_scaling AutoscalingplansScalingPlan#disable_dynamic_scaling}.- Returns:
this
-
disableDynamicScaling
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder disableDynamicScaling(com.hashicorp.cdktf.IResolvable disableDynamicScaling)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getDisableDynamicScaling()- Parameters:
disableDynamicScaling- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#disable_dynamic_scaling AutoscalingplansScalingPlan#disable_dynamic_scaling}.- Returns:
this
-
predefinedLoadMetricSpecification
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder predefinedLoadMetricSpecification(AutoscalingplansScalingPlanScalingInstructionPredefinedLoadMetricSpecification predefinedLoadMetricSpecification)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getPredefinedLoadMetricSpecification()- Parameters:
predefinedLoadMetricSpecification- predefined_load_metric_specification block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#predefined_load_metric_specification AutoscalingplansScalingPlan#predefined_load_metric_specification}- Returns:
this
-
predictiveScalingMaxCapacityBehavior
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder predictiveScalingMaxCapacityBehavior(String predictiveScalingMaxCapacityBehavior)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getPredictiveScalingMaxCapacityBehavior()- Parameters:
predictiveScalingMaxCapacityBehavior- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#predictive_scaling_max_capacity_behavior AutoscalingplansScalingPlan#predictive_scaling_max_capacity_behavior}.- Returns:
this
-
predictiveScalingMaxCapacityBuffer
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder predictiveScalingMaxCapacityBuffer(Number predictiveScalingMaxCapacityBuffer)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getPredictiveScalingMaxCapacityBuffer()- Parameters:
predictiveScalingMaxCapacityBuffer- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#predictive_scaling_max_capacity_buffer AutoscalingplansScalingPlan#predictive_scaling_max_capacity_buffer}.- Returns:
this
-
predictiveScalingMode
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder predictiveScalingMode(String predictiveScalingMode)
Sets the value ofAutoscalingplansScalingPlanScalingInstruction.getPredictiveScalingMode()- Parameters:
predictiveScalingMode- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#predictive_scaling_mode AutoscalingplansScalingPlan#predictive_scaling_mode}.- Returns:
this
-
scalingPolicyUpdateBehavior
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder scalingPolicyUpdateBehavior(String scalingPolicyUpdateBehavior)
- Parameters:
scalingPolicyUpdateBehavior- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#scaling_policy_update_behavior AutoscalingplansScalingPlan#scaling_policy_update_behavior}.- Returns:
this
-
scheduledActionBufferTime
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction.Builder scheduledActionBufferTime(Number scheduledActionBufferTime)
- Parameters:
scheduledActionBufferTime- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/autoscalingplans_scaling_plan#scheduled_action_buffer_time AutoscalingplansScalingPlan#scheduled_action_buffer_time}.- Returns:
this
-
build
@Stability(Stable) public AutoscalingplansScalingPlanScalingInstruction build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AutoscalingplansScalingPlanScalingInstruction>- Returns:
- a new instance of
AutoscalingplansScalingPlanScalingInstruction - Throws:
NullPointerException- if any required attribute was not provided
-
-