Class ContainerNodePoolNodeConfigKubeletConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_node_pool.ContainerNodePoolNodeConfigKubeletConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerNodePoolNodeConfigKubeletConfig>
- Enclosing interface:
- ContainerNodePoolNodeConfigKubeletConfig
@Stability(Stable) public static final class ContainerNodePoolNodeConfigKubeletConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerNodePoolNodeConfigKubeletConfig>
A builder forContainerNodePoolNodeConfigKubeletConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
cpuManagerPolicy
@Stability(Stable) public ContainerNodePoolNodeConfigKubeletConfig.Builder cpuManagerPolicy(String cpuManagerPolicy)
Sets the value ofContainerNodePoolNodeConfigKubeletConfig.getCpuManagerPolicy()- Parameters:
cpuManagerPolicy- Control the CPU management policy on the node. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#cpu_manager_policy ContainerNodePool#cpu_manager_policy}- Returns:
this
-
cpuCfsQuota
@Stability(Stable) public ContainerNodePoolNodeConfigKubeletConfig.Builder cpuCfsQuota(Boolean cpuCfsQuota)
Sets the value ofContainerNodePoolNodeConfigKubeletConfig.getCpuCfsQuota()- Parameters:
cpuCfsQuota- Enable CPU CFS quota enforcement for containers that specify CPU limits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#cpu_cfs_quota ContainerNodePool#cpu_cfs_quota}- Returns:
this
-
cpuCfsQuota
@Stability(Stable) public ContainerNodePoolNodeConfigKubeletConfig.Builder cpuCfsQuota(com.hashicorp.cdktf.IResolvable cpuCfsQuota)
Sets the value ofContainerNodePoolNodeConfigKubeletConfig.getCpuCfsQuota()- Parameters:
cpuCfsQuota- Enable CPU CFS quota enforcement for containers that specify CPU limits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#cpu_cfs_quota ContainerNodePool#cpu_cfs_quota}- Returns:
this
-
cpuCfsQuotaPeriod
@Stability(Stable) public ContainerNodePoolNodeConfigKubeletConfig.Builder cpuCfsQuotaPeriod(String cpuCfsQuotaPeriod)
Sets the value ofContainerNodePoolNodeConfigKubeletConfig.getCpuCfsQuotaPeriod()- Parameters:
cpuCfsQuotaPeriod- Set the CPU CFS quota period value 'cpu.cfs_period_us'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#cpu_cfs_quota_period ContainerNodePool#cpu_cfs_quota_period}- Returns:
this
-
podPidsLimit
@Stability(Stable) public ContainerNodePoolNodeConfigKubeletConfig.Builder podPidsLimit(Number podPidsLimit)
Sets the value ofContainerNodePoolNodeConfigKubeletConfig.getPodPidsLimit()- Parameters:
podPidsLimit- Controls the maximum number of processes allowed to run in a pod. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#pod_pids_limit ContainerNodePool#pod_pids_limit}- Returns:
this
-
build
@Stability(Stable) public ContainerNodePoolNodeConfigKubeletConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerNodePoolNodeConfigKubeletConfig>- Returns:
- a new instance of
ContainerNodePoolNodeConfigKubeletConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-