Class ContainerClusterCostManagementConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterCostManagementConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterCostManagementConfig>
- Enclosing interface:
- ContainerClusterCostManagementConfig
@Stability(Stable) public static final class ContainerClusterCostManagementConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterCostManagementConfig>
A builder forContainerClusterCostManagementConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterCostManagementConfigbuild()Builds the configured instance.ContainerClusterCostManagementConfig.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Sets the value ofContainerClusterCostManagementConfig.getEnabled()ContainerClusterCostManagementConfig.Builderenabled(Boolean enabled)Sets the value ofContainerClusterCostManagementConfig.getEnabled()
-
-
-
Method Detail
-
enabled
@Stability(Stable) public ContainerClusterCostManagementConfig.Builder enabled(Boolean enabled)
Sets the value ofContainerClusterCostManagementConfig.getEnabled()- Parameters:
enabled- Whether to enable GKE cost allocation. This parameter is required. When you enable GKE cost allocation, the cluster name and namespace of your GKE workloads appear in the labels field of the billing export to BigQuery. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enabled ContainerCluster#enabled}- Returns:
this
-
enabled
@Stability(Stable) public ContainerClusterCostManagementConfig.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofContainerClusterCostManagementConfig.getEnabled()- Parameters:
enabled- Whether to enable GKE cost allocation. This parameter is required. When you enable GKE cost allocation, the cluster name and namespace of your GKE workloads appear in the labels field of the billing export to BigQuery. Defaults to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enabled ContainerCluster#enabled}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterCostManagementConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterCostManagementConfig>- Returns:
- a new instance of
ContainerClusterCostManagementConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-