Class ContainerClusterCostManagementConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • enabled

        @Stability(Stable)
        public ContainerClusterCostManagementConfig.Builder enabled​(Boolean enabled)
        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)
        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