Class OpsworksUserProfile.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.opsworks_user_profile.OpsworksUserProfile.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OpsworksUserProfile>
- Enclosing class:
- OpsworksUserProfile
@Stability(Stable) public static final class OpsworksUserProfile.Builder extends Object implements software.amazon.jsii.Builder<OpsworksUserProfile>
A fluent builder forOpsworksUserProfile.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpsworksUserProfile.BuilderallowSelfManagement(com.hashicorp.cdktf.IResolvable allowSelfManagement)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#allow_self_management OpsworksUserProfile#allow_self_management}.OpsworksUserProfile.BuilderallowSelfManagement(Boolean allowSelfManagement)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#allow_self_management OpsworksUserProfile#allow_self_management}.OpsworksUserProfilebuild()OpsworksUserProfile.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)OpsworksUserProfile.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)OpsworksUserProfile.Buildercount(com.hashicorp.cdktf.TerraformCount count)OpsworksUserProfile.Buildercount(Number count)static OpsworksUserProfile.Buildercreate(software.constructs.Construct scope, String id)OpsworksUserProfile.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)OpsworksUserProfile.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)OpsworksUserProfile.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#id OpsworksUserProfile#id}.OpsworksUserProfile.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)OpsworksUserProfile.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)OpsworksUserProfile.Builderprovisioners(List<? extends Object> provisioners)OpsworksUserProfile.BuildersshPublicKey(String sshPublicKey)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#ssh_public_key OpsworksUserProfile#ssh_public_key}.OpsworksUserProfile.BuildersshUsername(String sshUsername)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#ssh_username OpsworksUserProfile#ssh_username}.OpsworksUserProfile.BuilderuserArn(String userArn)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#user_arn OpsworksUserProfile#user_arn}.
-
-
-
Method Detail
-
create
@Stability(Stable) public static OpsworksUserProfile.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
OpsworksUserProfile.Builder.
-
connection
@Stability(Experimental) public OpsworksUserProfile.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public OpsworksUserProfile.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public OpsworksUserProfile.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public OpsworksUserProfile.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public OpsworksUserProfile.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public OpsworksUserProfile.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public OpsworksUserProfile.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public OpsworksUserProfile.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public OpsworksUserProfile.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
sshUsername
@Stability(Stable) public OpsworksUserProfile.Builder sshUsername(String sshUsername)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#ssh_username OpsworksUserProfile#ssh_username}.- Parameters:
sshUsername- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#ssh_username OpsworksUserProfile#ssh_username}. This parameter is required.- Returns:
this
-
userArn
@Stability(Stable) public OpsworksUserProfile.Builder userArn(String userArn)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#user_arn OpsworksUserProfile#user_arn}.- Parameters:
userArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#user_arn OpsworksUserProfile#user_arn}. This parameter is required.- Returns:
this
-
allowSelfManagement
@Stability(Stable) public OpsworksUserProfile.Builder allowSelfManagement(Boolean allowSelfManagement)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#allow_self_management OpsworksUserProfile#allow_self_management}.- Parameters:
allowSelfManagement- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#allow_self_management OpsworksUserProfile#allow_self_management}. This parameter is required.- Returns:
this
-
allowSelfManagement
@Stability(Stable) public OpsworksUserProfile.Builder allowSelfManagement(com.hashicorp.cdktf.IResolvable allowSelfManagement)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#allow_self_management OpsworksUserProfile#allow_self_management}.- Parameters:
allowSelfManagement- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#allow_self_management OpsworksUserProfile#allow_self_management}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public OpsworksUserProfile.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#id OpsworksUserProfile#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/aws/5.6.1/docs/resources/opsworks_user_profile#id OpsworksUserProfile#id}. This parameter is required.- Returns:
this
-
sshPublicKey
@Stability(Stable) public OpsworksUserProfile.Builder sshPublicKey(String sshPublicKey)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#ssh_public_key OpsworksUserProfile#ssh_public_key}.- Parameters:
sshPublicKey- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_user_profile#ssh_public_key OpsworksUserProfile#ssh_public_key}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public OpsworksUserProfile build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OpsworksUserProfile>- Returns:
- a newly built instance of
OpsworksUserProfile.
-
-