Class ContainerAwsNodePoolUpdateSettingsSurgeSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_node_pool.ContainerAwsNodePoolUpdateSettingsSurgeSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsNodePoolUpdateSettingsSurgeSettings>
- Enclosing interface:
- ContainerAwsNodePoolUpdateSettingsSurgeSettings
@Stability(Stable) public static final class ContainerAwsNodePoolUpdateSettingsSurgeSettings.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsNodePoolUpdateSettingsSurgeSettings>
A builder forContainerAwsNodePoolUpdateSettingsSurgeSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAwsNodePoolUpdateSettingsSurgeSettingsbuild()Builds the configured instance.ContainerAwsNodePoolUpdateSettingsSurgeSettings.BuildermaxSurge(Number maxSurge)Sets the value ofContainerAwsNodePoolUpdateSettingsSurgeSettings.getMaxSurge()ContainerAwsNodePoolUpdateSettingsSurgeSettings.BuildermaxUnavailable(Number maxUnavailable)Sets the value ofContainerAwsNodePoolUpdateSettingsSurgeSettings.getMaxUnavailable()
-
-
-
Method Detail
-
maxSurge
@Stability(Stable) public ContainerAwsNodePoolUpdateSettingsSurgeSettings.Builder maxSurge(Number maxSurge)
Sets the value ofContainerAwsNodePoolUpdateSettingsSurgeSettings.getMaxSurge()- Parameters:
maxSurge- Optional. The maximum number of nodes that can be created beyond the current size of the node pool during the update process. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#max_surge ContainerAwsNodePool#max_surge}- Returns:
this
-
maxUnavailable
@Stability(Stable) public ContainerAwsNodePoolUpdateSettingsSurgeSettings.Builder maxUnavailable(Number maxUnavailable)
Sets the value ofContainerAwsNodePoolUpdateSettingsSurgeSettings.getMaxUnavailable()- Parameters:
maxUnavailable- Optional. The maximum number of nodes that can be simultaneously unavailable during the update process. A node is considered unavailable if its status is not Ready. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#max_unavailable ContainerAwsNodePool#max_unavailable}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsNodePoolUpdateSettingsSurgeSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsNodePoolUpdateSettingsSurgeSettings>- Returns:
- a new instance of
ContainerAwsNodePoolUpdateSettingsSurgeSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-