Class GkeHubFeatureMembershipConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_hub_feature_membership.GkeHubFeatureMembershipConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeHubFeatureMembershipConfig>
- Enclosing interface:
- GkeHubFeatureMembershipConfig
@Stability(Stable) public static final class GkeHubFeatureMembershipConfig.Builder extends Object implements software.amazon.jsii.Builder<GkeHubFeatureMembershipConfig>
A builder forGkeHubFeatureMembershipConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
feature
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder feature(String feature)
Sets the value ofGkeHubFeatureMembershipConfig.getFeature()- Parameters:
feature- The name of the feature. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#feature GkeHubFeatureMembership#feature}- Returns:
this
-
location
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder location(String location)
Sets the value ofGkeHubFeatureMembershipConfig.getLocation()- Parameters:
location- The location of the feature. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#location GkeHubFeatureMembership#location}- Returns:
this
-
membership
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder membership(String membership)
Sets the value ofGkeHubFeatureMembershipConfig.getMembership()- Parameters:
membership- The name 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_feature_membership#membership GkeHubFeatureMembership#membership}- Returns:
this
-
configmanagement
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder configmanagement(GkeHubFeatureMembershipConfigmanagement configmanagement)
Sets the value ofGkeHubFeatureMembershipConfig.getConfigmanagement()- Parameters:
configmanagement- configmanagement block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#configmanagement GkeHubFeatureMembership#configmanagement}- Returns:
this
-
id
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder id(String id)
Sets the value ofGkeHubFeatureMembershipConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#id GkeHubFeatureMembership#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
-
membershipLocation
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder membershipLocation(String membershipLocation)
Sets the value ofGkeHubFeatureMembershipConfig.getMembershipLocation()- Parameters:
membershipLocation- The location of the membership. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#membership_location GkeHubFeatureMembership#membership_location}- Returns:
this
-
mesh
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder mesh(GkeHubFeatureMembershipMesh mesh)
Sets the value ofGkeHubFeatureMembershipConfig.getMesh()- Parameters:
mesh- mesh block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#mesh GkeHubFeatureMembership#mesh}- Returns:
this
-
policycontroller
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder policycontroller(GkeHubFeatureMembershipPolicycontroller policycontroller)
Sets the value ofGkeHubFeatureMembershipConfig.getPolicycontroller()- Parameters:
policycontroller- policycontroller block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#policycontroller GkeHubFeatureMembership#policycontroller}- Returns:
this
-
project
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder project(String project)
Sets the value ofGkeHubFeatureMembershipConfig.getProject()- Parameters:
project- The project of the feature. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#project GkeHubFeatureMembership#project}- Returns:
this
-
timeouts
@Stability(Stable) public GkeHubFeatureMembershipConfig.Builder timeouts(GkeHubFeatureMembershipTimeouts timeouts)
Sets the value ofGkeHubFeatureMembershipConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#timeouts GkeHubFeatureMembership#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public GkeHubFeatureMembershipConfig.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 GkeHubFeatureMembershipConfig.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 GkeHubFeatureMembershipConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public GkeHubFeatureMembershipConfig.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 GkeHubFeatureMembershipConfig.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 GkeHubFeatureMembershipConfig.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 GkeHubFeatureMembershipConfig.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 GkeHubFeatureMembershipConfig.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 GkeHubFeatureMembershipConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public GkeHubFeatureMembershipConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeHubFeatureMembershipConfig>- Returns:
- a new instance of
GkeHubFeatureMembershipConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-