Class ContainerClusterMonitoringConfigManagedPrometheus.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterMonitoringConfigManagedPrometheus.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterMonitoringConfigManagedPrometheus>
- Enclosing interface:
- ContainerClusterMonitoringConfigManagedPrometheus
@Stability(Stable) public static final class ContainerClusterMonitoringConfigManagedPrometheus.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterMonitoringConfigManagedPrometheus>
A builder forContainerClusterMonitoringConfigManagedPrometheus
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterMonitoringConfigManagedPrometheusbuild()Builds the configured instance.ContainerClusterMonitoringConfigManagedPrometheus.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Sets the value ofContainerClusterMonitoringConfigManagedPrometheus.getEnabled()ContainerClusterMonitoringConfigManagedPrometheus.Builderenabled(Boolean enabled)Sets the value ofContainerClusterMonitoringConfigManagedPrometheus.getEnabled()
-
-
-
Method Detail
-
enabled
@Stability(Stable) public ContainerClusterMonitoringConfigManagedPrometheus.Builder enabled(Boolean enabled)
Sets the value ofContainerClusterMonitoringConfigManagedPrometheus.getEnabled()- Parameters:
enabled- Whether or not the managed collection is enabled. This parameter is required. 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 ContainerClusterMonitoringConfigManagedPrometheus.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofContainerClusterMonitoringConfigManagedPrometheus.getEnabled()- Parameters:
enabled- Whether or not the managed collection is enabled. This parameter is required. 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 ContainerClusterMonitoringConfigManagedPrometheus build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterMonitoringConfigManagedPrometheus>- Returns:
- a new instance of
ContainerClusterMonitoringConfigManagedPrometheus - Throws:
NullPointerException- if any required attribute was not provided
-
-