Class GkeHubMembershipConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_hub_membership.GkeHubMembershipConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeHubMembershipConfig>
- Enclosing interface:
- GkeHubMembershipConfig
@Stability(Stable) public static final class GkeHubMembershipConfig.Builder extends Object implements software.amazon.jsii.Builder<GkeHubMembershipConfig>
A builder forGkeHubMembershipConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeHubMembershipConfig.Builderauthority(GkeHubMembershipAuthority authority)Sets the value ofGkeHubMembershipConfig.getAuthority()GkeHubMembershipConfigbuild()Builds the configured instance.GkeHubMembershipConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()GkeHubMembershipConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()GkeHubMembershipConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()GkeHubMembershipConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()GkeHubMembershipConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()GkeHubMembershipConfig.Builderendpoint(GkeHubMembershipEndpoint endpoint)Sets the value ofGkeHubMembershipConfig.getEndpoint()GkeHubMembershipConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()GkeHubMembershipConfig.Builderid(String id)Sets the value ofGkeHubMembershipConfig.getId()GkeHubMembershipConfig.Builderlabels(Map<String,String> labels)Sets the value ofGkeHubMembershipConfig.getLabels()GkeHubMembershipConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()GkeHubMembershipConfig.Builderlocation(String location)Sets the value ofGkeHubMembershipConfig.getLocation()GkeHubMembershipConfig.BuildermembershipId(String membershipId)Sets the value ofGkeHubMembershipConfig.getMembershipId()GkeHubMembershipConfig.Builderproject(String project)Sets the value ofGkeHubMembershipConfig.getProject()GkeHubMembershipConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()GkeHubMembershipConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()GkeHubMembershipConfig.Buildertimeouts(GkeHubMembershipTimeouts timeouts)Sets the value ofGkeHubMembershipConfig.getTimeouts()
-
-
-
Method Detail
-
membershipId
@Stability(Stable) public GkeHubMembershipConfig.Builder membershipId(String membershipId)
Sets the value ofGkeHubMembershipConfig.getMembershipId()- Parameters:
membershipId- The client-provided identifier of the membership. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_membership#membership_id GkeHubMembership#membership_id}- Returns:
this
-
authority
@Stability(Stable) public GkeHubMembershipConfig.Builder authority(GkeHubMembershipAuthority authority)
Sets the value ofGkeHubMembershipConfig.getAuthority()- Parameters:
authority- authority block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_membership#authority GkeHubMembership#authority}- Returns:
this
-
endpoint
@Stability(Stable) public GkeHubMembershipConfig.Builder endpoint(GkeHubMembershipEndpoint endpoint)
Sets the value ofGkeHubMembershipConfig.getEndpoint()- Parameters:
endpoint- endpoint block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_membership#endpoint GkeHubMembership#endpoint}- Returns:
this
-
id
@Stability(Stable) public GkeHubMembershipConfig.Builder id(String id)
Sets the value ofGkeHubMembershipConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_membership#id GkeHubMembership#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.- Returns:
this
-
labels
@Stability(Stable) public GkeHubMembershipConfig.Builder labels(Map<String,String> labels)
Sets the value ofGkeHubMembershipConfig.getLabels()- Parameters:
labels- Labels to apply to this membership. **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_membership#labels GkeHubMembership#labels}- Returns:
this
-
location
@Stability(Stable) public GkeHubMembershipConfig.Builder location(String location)
Sets the value ofGkeHubMembershipConfig.getLocation()- Parameters:
location- Location of the membership. The default value is 'global'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_membership#location GkeHubMembership#location}- Returns:
this
-
project
@Stability(Stable) public GkeHubMembershipConfig.Builder project(String project)
Sets the value ofGkeHubMembershipConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_membership#project GkeHubMembership#project}.- Returns:
this
-
timeouts
@Stability(Stable) public GkeHubMembershipConfig.Builder timeouts(GkeHubMembershipTimeouts timeouts)
Sets the value ofGkeHubMembershipConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_membership#timeouts GkeHubMembership#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public GkeHubMembershipConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public GkeHubMembershipConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public GkeHubMembershipConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public GkeHubMembershipConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public GkeHubMembershipConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public GkeHubMembershipConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public GkeHubMembershipConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public GkeHubMembershipConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public GkeHubMembershipConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public GkeHubMembershipConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeHubMembershipConfig>- Returns:
- a new instance of
GkeHubMembershipConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-