Class GkeHubNamespace.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_hub_namespace.GkeHubNamespace.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeHubNamespace>
- Enclosing class:
- GkeHubNamespace
@Stability(Stable) public static final class GkeHubNamespace.Builder extends Object implements software.amazon.jsii.Builder<GkeHubNamespace>
A fluent builder forGkeHubNamespace.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeHubNamespacebuild()GkeHubNamespace.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)GkeHubNamespace.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)GkeHubNamespace.Buildercount(com.hashicorp.cdktf.TerraformCount count)GkeHubNamespace.Buildercount(Number count)static GkeHubNamespace.Buildercreate(software.constructs.Construct scope, String id)GkeHubNamespace.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)GkeHubNamespace.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)GkeHubNamespace.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_namespace#id GkeHubNamespace#id}.GkeHubNamespace.Builderlabels(Map<String,String> labels)Labels for this Namespace.GkeHubNamespace.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)GkeHubNamespace.BuildernamespaceLabels(Map<String,String> namespaceLabels)Namespace-level cluster namespace labels.GkeHubNamespace.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_namespace#project GkeHubNamespace#project}.GkeHubNamespace.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)GkeHubNamespace.Builderprovisioners(List<? extends Object> provisioners)GkeHubNamespace.Builderscope(String scope)The name of the Scope instance.GkeHubNamespace.BuilderscopeId(String scopeId)Id of the scope.GkeHubNamespace.BuilderscopeNamespaceId(String scopeNamespaceId)The client-provided identifier of the namespace.GkeHubNamespace.Buildertimeouts(GkeHubNamespaceTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static GkeHubNamespace.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
GkeHubNamespace.Builder.
-
connection
@Stability(Experimental) public GkeHubNamespace.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public GkeHubNamespace.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public GkeHubNamespace.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public GkeHubNamespace.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public GkeHubNamespace.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public GkeHubNamespace.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public GkeHubNamespace.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public GkeHubNamespace.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public GkeHubNamespace.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
scope
@Stability(Stable) public GkeHubNamespace.Builder scope(String scope)
The name of the Scope instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_namespace#scope GkeHubNamespace#scope}
- Parameters:
scope- The name of the Scope instance. This parameter is required.- Returns:
this
-
scopeId
@Stability(Stable) public GkeHubNamespace.Builder scopeId(String scopeId)
Id of the scope.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_namespace#scope_id GkeHubNamespace#scope_id}
- Parameters:
scopeId- Id of the scope. This parameter is required.- Returns:
this
-
scopeNamespaceId
@Stability(Stable) public GkeHubNamespace.Builder scopeNamespaceId(String scopeNamespaceId)
The client-provided identifier of the namespace.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_namespace#scope_namespace_id GkeHubNamespace#scope_namespace_id}
- Parameters:
scopeNamespaceId- The client-provided identifier of the namespace. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public GkeHubNamespace.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_namespace#id GkeHubNamespace#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_namespace#id GkeHubNamespace#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public GkeHubNamespace.Builder labels(Map<String,String> labels)
Labels for this Namespace.**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_namespace#labels GkeHubNamespace#labels}
- Parameters:
labels- Labels for this Namespace. This parameter is required.- Returns:
this
-
namespaceLabels
@Stability(Stable) public GkeHubNamespace.Builder namespaceLabels(Map<String,String> namespaceLabels)
Namespace-level cluster namespace labels.These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels ('namespace_labels' in the Fleet Scope resource) take precedence over Namespace-level labels 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_namespace#namespace_labels GkeHubNamespace#namespace_labels}
- Parameters:
namespaceLabels- Namespace-level cluster namespace labels. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public GkeHubNamespace.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_namespace#project GkeHubNamespace#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_namespace#project GkeHubNamespace#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public GkeHubNamespace.Builder timeouts(GkeHubNamespaceTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_namespace#timeouts GkeHubNamespace#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public GkeHubNamespace build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeHubNamespace>- Returns:
- a newly built instance of
GkeHubNamespace.
-
-