Class TransferSshKey.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.transfer_ssh_key.TransferSshKey.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<TransferSshKey>
- Enclosing class:
- TransferSshKey
@Stability(Stable) public static final class TransferSshKey.Builder extends Object implements software.amazon.jsii.Builder<TransferSshKey>
A fluent builder forTransferSshKey.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferSshKey.Builderbody(String body)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#body TransferSshKey#body}.TransferSshKeybuild()TransferSshKey.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)TransferSshKey.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)TransferSshKey.Buildercount(com.hashicorp.cdktf.TerraformCount count)TransferSshKey.Buildercount(Number count)static TransferSshKey.Buildercreate(software.constructs.Construct scope, String id)TransferSshKey.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)TransferSshKey.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)TransferSshKey.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#id TransferSshKey#id}.TransferSshKey.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)TransferSshKey.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)TransferSshKey.Builderprovisioners(List<? extends Object> provisioners)TransferSshKey.BuilderserverId(String serverId)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#server_id TransferSshKey#server_id}.TransferSshKey.BuilderuserName(String userName)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#user_name TransferSshKey#user_name}.
-
-
-
Method Detail
-
create
@Stability(Stable) public static TransferSshKey.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
TransferSshKey.Builder.
-
connection
@Stability(Experimental) public TransferSshKey.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public TransferSshKey.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public TransferSshKey.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public TransferSshKey.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public TransferSshKey.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public TransferSshKey.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public TransferSshKey.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public TransferSshKey.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public TransferSshKey.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
body
@Stability(Stable) public TransferSshKey.Builder body(String body)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#body TransferSshKey#body}.- Parameters:
body- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#body TransferSshKey#body}. This parameter is required.- Returns:
this
-
serverId
@Stability(Stable) public TransferSshKey.Builder serverId(String serverId)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#server_id TransferSshKey#server_id}.- Parameters:
serverId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#server_id TransferSshKey#server_id}. This parameter is required.- Returns:
this
-
userName
@Stability(Stable) public TransferSshKey.Builder userName(String userName)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#user_name TransferSshKey#user_name}.- Parameters:
userName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#user_name TransferSshKey#user_name}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public TransferSshKey.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_ssh_key#id TransferSshKey#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/transfer_ssh_key#id TransferSshKey#id}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public TransferSshKey build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TransferSshKey>- Returns:
- a newly built instance of
TransferSshKey.
-
-