Class ContainerClusterClusterAutoscalingResourceLimits.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterClusterAutoscalingResourceLimits.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterClusterAutoscalingResourceLimits>
- Enclosing interface:
- ContainerClusterClusterAutoscalingResourceLimits
@Stability(Stable) public static final class ContainerClusterClusterAutoscalingResourceLimits.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterClusterAutoscalingResourceLimits>
A builder forContainerClusterClusterAutoscalingResourceLimits
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterClusterAutoscalingResourceLimitsbuild()Builds the configured instance.ContainerClusterClusterAutoscalingResourceLimits.Buildermaximum(Number maximum)Sets the value ofContainerClusterClusterAutoscalingResourceLimits.getMaximum()ContainerClusterClusterAutoscalingResourceLimits.Builderminimum(Number minimum)Sets the value ofContainerClusterClusterAutoscalingResourceLimits.getMinimum()ContainerClusterClusterAutoscalingResourceLimits.BuilderresourceType(String resourceType)Sets the value ofContainerClusterClusterAutoscalingResourceLimits.getResourceType()
-
-
-
Method Detail
-
resourceType
@Stability(Stable) public ContainerClusterClusterAutoscalingResourceLimits.Builder resourceType(String resourceType)
Sets the value ofContainerClusterClusterAutoscalingResourceLimits.getResourceType()- Parameters:
resourceType- The type of the resource. This parameter is required. For example, cpu and memory. See the guide to using Node Auto-Provisioning for a list of types. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#resource_type ContainerCluster#resource_type}- Returns:
this
-
maximum
@Stability(Stable) public ContainerClusterClusterAutoscalingResourceLimits.Builder maximum(Number maximum)
Sets the value ofContainerClusterClusterAutoscalingResourceLimits.getMaximum()- Parameters:
maximum- Maximum amount of the resource in the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#maximum ContainerCluster#maximum}- Returns:
this
-
minimum
@Stability(Stable) public ContainerClusterClusterAutoscalingResourceLimits.Builder minimum(Number minimum)
Sets the value ofContainerClusterClusterAutoscalingResourceLimits.getMinimum()- Parameters:
minimum- Minimum amount of the resource in the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#minimum ContainerCluster#minimum}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterClusterAutoscalingResourceLimits build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterClusterAutoscalingResourceLimits>- Returns:
- a new instance of
ContainerClusterClusterAutoscalingResourceLimits - Throws:
NullPointerException- if any required attribute was not provided
-
-