Class GkeHubFeatureConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_hub_feature.GkeHubFeatureConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeHubFeatureConfig>
- Enclosing interface:
- GkeHubFeatureConfig
@Stability(Stable) public static final class GkeHubFeatureConfig.Builder extends Object implements software.amazon.jsii.Builder<GkeHubFeatureConfig>
A builder forGkeHubFeatureConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeHubFeatureConfigbuild()Builds the configured instance.GkeHubFeatureConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()GkeHubFeatureConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()GkeHubFeatureConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()GkeHubFeatureConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()GkeHubFeatureConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()GkeHubFeatureConfig.BuilderfleetDefaultMemberConfig(GkeHubFeatureFleetDefaultMemberConfig fleetDefaultMemberConfig)Sets the value ofGkeHubFeatureConfig.getFleetDefaultMemberConfig()GkeHubFeatureConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()GkeHubFeatureConfig.Builderid(String id)Sets the value ofGkeHubFeatureConfig.getId()GkeHubFeatureConfig.Builderlabels(Map<String,String> labels)Sets the value ofGkeHubFeatureConfig.getLabels()GkeHubFeatureConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()GkeHubFeatureConfig.Builderlocation(String location)Sets the value ofGkeHubFeatureConfig.getLocation()GkeHubFeatureConfig.Buildername(String name)Sets the value ofGkeHubFeatureConfig.getName()GkeHubFeatureConfig.Builderproject(String project)Sets the value ofGkeHubFeatureConfig.getProject()GkeHubFeatureConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()GkeHubFeatureConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()GkeHubFeatureConfig.Builderspec(GkeHubFeatureSpec spec)Sets the value ofGkeHubFeatureConfig.getSpec()GkeHubFeatureConfig.Buildertimeouts(GkeHubFeatureTimeouts timeouts)Sets the value ofGkeHubFeatureConfig.getTimeouts()
-
-
-
Method Detail
-
location
@Stability(Stable) public GkeHubFeatureConfig.Builder location(String location)
Sets the value ofGkeHubFeatureConfig.getLocation()- Parameters:
location- The location for the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#location GkeHubFeature#location}- Returns:
this
-
fleetDefaultMemberConfig
@Stability(Stable) public GkeHubFeatureConfig.Builder fleetDefaultMemberConfig(GkeHubFeatureFleetDefaultMemberConfig fleetDefaultMemberConfig)
Sets the value ofGkeHubFeatureConfig.getFleetDefaultMemberConfig()- Parameters:
fleetDefaultMemberConfig- fleet_default_member_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#fleet_default_member_config GkeHubFeature#fleet_default_member_config}- Returns:
this
-
id
@Stability(Stable) public GkeHubFeatureConfig.Builder id(String id)
Sets the value ofGkeHubFeatureConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#id GkeHubFeature#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 GkeHubFeatureConfig.Builder labels(Map<String,String> labels)
Sets the value ofGkeHubFeatureConfig.getLabels()- Parameters:
labels- GCP labels for this Feature. **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_feature#labels GkeHubFeature#labels}- Returns:
this
-
name
@Stability(Stable) public GkeHubFeatureConfig.Builder name(String name)
Sets the value ofGkeHubFeatureConfig.getName()- Parameters:
name- The full, unique name of this Feature resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#name GkeHubFeature#name}- Returns:
this
-
project
@Stability(Stable) public GkeHubFeatureConfig.Builder project(String project)
Sets the value ofGkeHubFeatureConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#project GkeHubFeature#project}.- Returns:
this
-
spec
@Stability(Stable) public GkeHubFeatureConfig.Builder spec(GkeHubFeatureSpec spec)
Sets the value ofGkeHubFeatureConfig.getSpec()- Parameters:
spec- spec block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#spec GkeHubFeature#spec}- Returns:
this
-
timeouts
@Stability(Stable) public GkeHubFeatureConfig.Builder timeouts(GkeHubFeatureTimeouts timeouts)
Sets the value ofGkeHubFeatureConfig.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#timeouts GkeHubFeature#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public GkeHubFeatureConfig.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 GkeHubFeatureConfig.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 GkeHubFeatureConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public GkeHubFeatureConfig.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 GkeHubFeatureConfig.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 GkeHubFeatureConfig.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 GkeHubFeatureConfig.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 GkeHubFeatureConfig.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 GkeHubFeatureConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public GkeHubFeatureConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeHubFeatureConfig>- Returns:
- a new instance of
GkeHubFeatureConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-