Class ContainerAttachedCluster.Builder

    • Method Detail

      • connection

        @Stability(Experimental)
        public ContainerAttachedCluster.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ContainerAttachedCluster.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public ContainerAttachedCluster.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public ContainerAttachedCluster.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public ContainerAttachedCluster.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public ContainerAttachedCluster.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public ContainerAttachedCluster.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • distribution

        @Stability(Stable)
        public ContainerAttachedCluster.Builder distribution​(String distribution)
        The Kubernetes distribution of the underlying attached cluster.

        Supported values: "eks", "aks", "generic". The generic distribution provides the ability to register or migrate any CNCF conformant cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#distribution ContainerAttachedCluster#distribution}

        Parameters:
        distribution - The Kubernetes distribution of the underlying attached cluster. This parameter is required.
        Returns:
        this
      • fleet

        @Stability(Stable)
        public ContainerAttachedCluster.Builder fleet​(ContainerAttachedClusterFleet fleet)
        fleet block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#fleet ContainerAttachedCluster#fleet}

        Parameters:
        fleet - fleet block. This parameter is required.
        Returns:
        this
      • location

        @Stability(Stable)
        public ContainerAttachedCluster.Builder location​(String location)
        The location for the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#location ContainerAttachedCluster#location}

        Parameters:
        location - The location for the resource. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public ContainerAttachedCluster.Builder name​(String name)
        The name of this resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#name ContainerAttachedCluster#name}

        Parameters:
        name - The name of this resource. This parameter is required.
        Returns:
        this
      • oidcConfig

        @Stability(Stable)
        public ContainerAttachedCluster.Builder oidcConfig​(ContainerAttachedClusterOidcConfig oidcConfig)
        oidc_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#oidc_config ContainerAttachedCluster#oidc_config}

        Parameters:
        oidcConfig - oidc_config block. This parameter is required.
        Returns:
        this
      • platformVersion

        @Stability(Stable)
        public ContainerAttachedCluster.Builder platformVersion​(String platformVersion)
        The platform version for the cluster (e.g. '1.23.0-gke.1').

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#platform_version ContainerAttachedCluster#platform_version}

        Parameters:
        platformVersion - The platform version for the cluster (e.g. '1.23.0-gke.1'). This parameter is required.
        Returns:
        this
      • annotations

        @Stability(Stable)
        public ContainerAttachedCluster.Builder annotations​(Map<String,​String> annotations)
        Optional.

        Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#annotations ContainerAttachedCluster#annotations}

        Parameters:
        annotations - Optional. This parameter is required.
        Returns:
        this
      • authorization

        @Stability(Stable)
        public ContainerAttachedCluster.Builder authorization​(ContainerAttachedClusterAuthorization authorization)
        authorization block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#authorization ContainerAttachedCluster#authorization}

        Parameters:
        authorization - authorization block. This parameter is required.
        Returns:
        this
      • binaryAuthorization

        @Stability(Stable)
        public ContainerAttachedCluster.Builder binaryAuthorization​(ContainerAttachedClusterBinaryAuthorization binaryAuthorization)
        binary_authorization block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#binary_authorization ContainerAttachedCluster#binary_authorization}

        Parameters:
        binaryAuthorization - binary_authorization block. This parameter is required.
        Returns:
        this
      • deletionPolicy

        @Stability(Stable)
        public ContainerAttachedCluster.Builder deletionPolicy​(String deletionPolicy)
        Policy to determine what flags to send on delete.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#deletion_policy ContainerAttachedCluster#deletion_policy}

        Parameters:
        deletionPolicy - Policy to determine what flags to send on delete. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public ContainerAttachedCluster.Builder description​(String description)
        A human readable description of this attached cluster. Cannot be longer than 255 UTF-8 encoded bytes.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#description ContainerAttachedCluster#description}

        Parameters:
        description - A human readable description of this attached cluster. Cannot be longer than 255 UTF-8 encoded bytes. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public ContainerAttachedCluster.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#id ContainerAttachedCluster#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#id ContainerAttachedCluster#id}. This parameter is required.
        Returns:
        this
      • loggingConfig

        @Stability(Stable)
        public ContainerAttachedCluster.Builder loggingConfig​(ContainerAttachedClusterLoggingConfig loggingConfig)
        logging_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#logging_config ContainerAttachedCluster#logging_config}

        Parameters:
        loggingConfig - logging_config block. This parameter is required.
        Returns:
        this
      • monitoringConfig

        @Stability(Stable)
        public ContainerAttachedCluster.Builder monitoringConfig​(ContainerAttachedClusterMonitoringConfig monitoringConfig)
        monitoring_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#monitoring_config ContainerAttachedCluster#monitoring_config}

        Parameters:
        monitoringConfig - monitoring_config block. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public ContainerAttachedCluster.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#project ContainerAttachedCluster#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#project ContainerAttachedCluster#project}. This parameter is required.
        Returns:
        this
      • proxyConfig

        @Stability(Stable)
        public ContainerAttachedCluster.Builder proxyConfig​(ContainerAttachedClusterProxyConfig proxyConfig)
        proxy_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#proxy_config ContainerAttachedCluster#proxy_config}

        Parameters:
        proxyConfig - proxy_config block. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public ContainerAttachedCluster.Builder timeouts​(ContainerAttachedClusterTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_attached_cluster#timeouts ContainerAttachedCluster#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this