Class ContainerClusterNodePoolNodeConfigKubeletConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterNodePoolNodeConfigKubeletConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigKubeletConfig>
- Enclosing interface:
- ContainerClusterNodePoolNodeConfigKubeletConfig
@Stability(Stable) public static final class ContainerClusterNodePoolNodeConfigKubeletConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigKubeletConfig>
A builder forContainerClusterNodePoolNodeConfigKubeletConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
cpuManagerPolicy
@Stability(Stable) public ContainerClusterNodePoolNodeConfigKubeletConfig.Builder cpuManagerPolicy(String cpuManagerPolicy)
Sets the value ofContainerClusterNodePoolNodeConfigKubeletConfig.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_cluster#cpu_manager_policy ContainerCluster#cpu_manager_policy}- Returns:
this
-
cpuCfsQuota
@Stability(Stable) public ContainerClusterNodePoolNodeConfigKubeletConfig.Builder cpuCfsQuota(Boolean cpuCfsQuota)
Sets the value ofContainerClusterNodePoolNodeConfigKubeletConfig.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_cluster#cpu_cfs_quota ContainerCluster#cpu_cfs_quota}- Returns:
this
-
cpuCfsQuota
@Stability(Stable) public ContainerClusterNodePoolNodeConfigKubeletConfig.Builder cpuCfsQuota(com.hashicorp.cdktf.IResolvable cpuCfsQuota)
Sets the value ofContainerClusterNodePoolNodeConfigKubeletConfig.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_cluster#cpu_cfs_quota ContainerCluster#cpu_cfs_quota}- Returns:
this
-
cpuCfsQuotaPeriod
@Stability(Stable) public ContainerClusterNodePoolNodeConfigKubeletConfig.Builder cpuCfsQuotaPeriod(String cpuCfsQuotaPeriod)
Sets the value ofContainerClusterNodePoolNodeConfigKubeletConfig.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_cluster#cpu_cfs_quota_period ContainerCluster#cpu_cfs_quota_period}- Returns:
this
-
podPidsLimit
@Stability(Stable) public ContainerClusterNodePoolNodeConfigKubeletConfig.Builder podPidsLimit(Number podPidsLimit)
Sets the value ofContainerClusterNodePoolNodeConfigKubeletConfig.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_cluster#pod_pids_limit ContainerCluster#pod_pids_limit}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterNodePoolNodeConfigKubeletConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigKubeletConfig>- Returns:
- a new instance of
ContainerClusterNodePoolNodeConfigKubeletConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-