Class ContainerClusterLoggingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterLoggingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterLoggingConfig>
- Enclosing interface:
- ContainerClusterLoggingConfig
@Stability(Stable) public static final class ContainerClusterLoggingConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterLoggingConfig>
A builder forContainerClusterLoggingConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterLoggingConfigbuild()Builds the configured instance.ContainerClusterLoggingConfig.BuilderenableComponents(List<String> enableComponents)Sets the value ofContainerClusterLoggingConfig.getEnableComponents()
-
-
-
Method Detail
-
enableComponents
@Stability(Stable) public ContainerClusterLoggingConfig.Builder enableComponents(List<String> enableComponents)
Sets the value ofContainerClusterLoggingConfig.getEnableComponents()- Parameters:
enableComponents- GKE components exposing logs. Valid values include SYSTEM_COMPONENTS, APISERVER, CONTROLLER_MANAGER, SCHEDULER, and WORKLOADS. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_components ContainerCluster#enable_components}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterLoggingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterLoggingConfig>- Returns:
- a new instance of
ContainerClusterLoggingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-