Class GkeHubScope.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<GkeHubScope>
    Enclosing class:
    GkeHubScope

    @Stability(Stable)
    public static final class GkeHubScope.Builder
    extends Object
    implements software.amazon.jsii.Builder<GkeHubScope>
    A fluent builder for GkeHubScope.
    • Method Detail

      • create

        @Stability(Stable)
        public static GkeHubScope.Builder create​(software.constructs.Construct scope,
                                                 String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of GkeHubScope.Builder.
      • connection

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

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

        @Stability(Experimental)
        public GkeHubScope.Builder count​(Number count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • count

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

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

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

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

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

        @Stability(Experimental)
        public GkeHubScope.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • scopeId

        @Stability(Stable)
        public GkeHubScope.Builder scopeId​(String scopeId)
        The client-provided identifier of the scope.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_scope#scope_id GkeHubScope#scope_id}

        Parameters:
        scopeId - The client-provided identifier of the scope. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public GkeHubScope.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_scope#id GkeHubScope#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/gke_hub_scope#id GkeHubScope#id}. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public GkeHubScope.Builder labels​(Map<String,​String> labels)
        Labels for this Scope.

        **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_scope#labels GkeHubScope#labels}

        Parameters:
        labels - Labels for this Scope. This parameter is required.
        Returns:
        this
      • namespaceLabels

        @Stability(Stable)
        public GkeHubScope.Builder namespaceLabels​(Map<String,​String> namespaceLabels)
        Scope-level cluster namespace labels.

        For the member clusters bound to the Scope, these labels are applied to each namespace under the Scope. Scope-level labels take precedence over Namespace-level labels ('namespace_labels' in the Fleet Namespace resource) if they share a key. Keys and values must be Kubernetes-conformant. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_scope#namespace_labels GkeHubScope#namespace_labels}

        Parameters:
        namespaceLabels - Scope-level cluster namespace labels. This parameter is required.
        Returns:
        this
      • project

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

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

        @Stability(Stable)
        public GkeHubScope.Builder timeouts​(GkeHubScopeTimeouts timeouts)
        timeouts block.

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

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

        @Stability(Stable)
        public GkeHubScope build()
        Specified by:
        build in interface software.amazon.jsii.Builder<GkeHubScope>
        Returns:
        a newly built instance of GkeHubScope.