Class ContainerClusterReleaseChannel.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterReleaseChannel.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterReleaseChannel>
- Enclosing interface:
- ContainerClusterReleaseChannel
@Stability(Stable) public static final class ContainerClusterReleaseChannel.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterReleaseChannel>
A builder forContainerClusterReleaseChannel
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterReleaseChannelbuild()Builds the configured instance.ContainerClusterReleaseChannel.Builderchannel(String channel)Sets the value ofContainerClusterReleaseChannel.getChannel()
-
-
-
Method Detail
-
channel
@Stability(Stable) public ContainerClusterReleaseChannel.Builder channel(String channel)
Sets the value ofContainerClusterReleaseChannel.getChannel()- Parameters:
channel- The selected release channel. This parameter is required. Accepted values are: * UNSPECIFIED: Not set. * RAPID: Weekly upgrade cadence; Early testers and developers who requires new features. * REGULAR: Multiple per month upgrade cadence; Production users who need features not yet offered in the Stable channel. * STABLE: Every few months upgrade cadence; Production users who need stability above all else, and for whom frequent upgrades are too risky. * EXTENDED: GKE provides extended support for Kubernetes minor versions through the Extended channel. With this channel, you can stay on a minor version for up to 24 months. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#channel ContainerCluster#channel}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterReleaseChannel build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterReleaseChannel>- Returns:
- a new instance of
ContainerClusterReleaseChannel - Throws:
NullPointerException- if any required attribute was not provided
-
-