Class MigrationCenterGroupConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.migration_center_group.MigrationCenterGroupConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MigrationCenterGroupConfig>
- Enclosing interface:
- MigrationCenterGroupConfig
@Stability(Stable) public static final class MigrationCenterGroupConfig.Builder extends Object implements software.amazon.jsii.Builder<MigrationCenterGroupConfig>
A builder forMigrationCenterGroupConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationCenterGroupConfigbuild()Builds the configured instance.MigrationCenterGroupConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()MigrationCenterGroupConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()MigrationCenterGroupConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()MigrationCenterGroupConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()MigrationCenterGroupConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()MigrationCenterGroupConfig.Builderdescription(String description)Sets the value ofMigrationCenterGroupConfig.getDescription()MigrationCenterGroupConfig.BuilderdisplayName(String displayName)Sets the value ofMigrationCenterGroupConfig.getDisplayName()MigrationCenterGroupConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()MigrationCenterGroupConfig.BuildergroupId(String groupId)Sets the value ofMigrationCenterGroupConfig.getGroupId()MigrationCenterGroupConfig.Builderid(String id)Sets the value ofMigrationCenterGroupConfig.getId()MigrationCenterGroupConfig.Builderlabels(Map<String,String> labels)Sets the value ofMigrationCenterGroupConfig.getLabels()MigrationCenterGroupConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()MigrationCenterGroupConfig.Builderlocation(String location)Sets the value ofMigrationCenterGroupConfig.getLocation()MigrationCenterGroupConfig.Builderproject(String project)Sets the value ofMigrationCenterGroupConfig.getProject()MigrationCenterGroupConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()MigrationCenterGroupConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()MigrationCenterGroupConfig.Buildertimeouts(MigrationCenterGroupTimeouts timeouts)Sets the value ofMigrationCenterGroupConfig.getTimeouts()
-
-
-
Method Detail
-
groupId
@Stability(Stable) public MigrationCenterGroupConfig.Builder groupId(String groupId)
Sets the value ofMigrationCenterGroupConfig.getGroupId()- Parameters:
groupId- Required. This parameter is required. User specified ID for the group. It will become the last component of the group name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: '[a-z](%5Ba-z0-9-%5D%7B0,61%7D%5Ba-z0-9%5D)?'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/migration_center_group#group_id MigrationCenterGroup#group_id}- Returns:
this
-
location
@Stability(Stable) public MigrationCenterGroupConfig.Builder location(String location)
Sets the value ofMigrationCenterGroupConfig.getLocation()- Parameters:
location- The location of the group. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/migration_center_group#location MigrationCenterGroup#location}- Returns:
this
-
description
@Stability(Stable) public MigrationCenterGroupConfig.Builder description(String description)
Sets the value ofMigrationCenterGroupConfig.getDescription()- Parameters:
description- Optional. The description of the group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/migration_center_group#description MigrationCenterGroup#description}- Returns:
this
-
displayName
@Stability(Stable) public MigrationCenterGroupConfig.Builder displayName(String displayName)
Sets the value ofMigrationCenterGroupConfig.getDisplayName()- Parameters:
displayName- Optional. User-friendly display name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/migration_center_group#display_name MigrationCenterGroup#display_name}- Returns:
this
-
id
@Stability(Stable) public MigrationCenterGroupConfig.Builder id(String id)
Sets the value ofMigrationCenterGroupConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/migration_center_group#id MigrationCenterGroup#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 MigrationCenterGroupConfig.Builder labels(Map<String,String> labels)
Sets the value ofMigrationCenterGroupConfig.getLabels()- Parameters:
labels- Labels as key value pairs. **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/migration_center_group#labels MigrationCenterGroup#labels}- Returns:
this
-
project
@Stability(Stable) public MigrationCenterGroupConfig.Builder project(String project)
Sets the value ofMigrationCenterGroupConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/migration_center_group#project MigrationCenterGroup#project}.- Returns:
this
-
timeouts
@Stability(Stable) public MigrationCenterGroupConfig.Builder timeouts(MigrationCenterGroupTimeouts timeouts)
Sets the value ofMigrationCenterGroupConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/migration_center_group#timeouts MigrationCenterGroup#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public MigrationCenterGroupConfig.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 MigrationCenterGroupConfig.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 MigrationCenterGroupConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public MigrationCenterGroupConfig.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 MigrationCenterGroupConfig.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 MigrationCenterGroupConfig.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 MigrationCenterGroupConfig.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 MigrationCenterGroupConfig.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 MigrationCenterGroupConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public MigrationCenterGroupConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MigrationCenterGroupConfig>- Returns:
- a new instance of
MigrationCenterGroupConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-