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