Class TransferAgreementConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.transfer_agreement.TransferAgreementConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<TransferAgreementConfig>
- Enclosing interface:
- TransferAgreementConfig
@Stability(Stable) public static final class TransferAgreementConfig.Builder extends Object implements software.amazon.jsii.Builder<TransferAgreementConfig>
A builder forTransferAgreementConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferAgreementConfig.BuilderaccessRole(String accessRole)Sets the value ofTransferAgreementConfig.getAccessRole()TransferAgreementConfig.BuilderbaseDirectory(String baseDirectory)Sets the value ofTransferAgreementConfig.getBaseDirectory()TransferAgreementConfigbuild()Builds the configured instance.TransferAgreementConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()TransferAgreementConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()TransferAgreementConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()TransferAgreementConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()TransferAgreementConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()TransferAgreementConfig.Builderdescription(String description)Sets the value ofTransferAgreementConfig.getDescription()TransferAgreementConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()TransferAgreementConfig.Builderid(String id)Sets the value ofTransferAgreementConfig.getId()TransferAgreementConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()TransferAgreementConfig.BuilderlocalProfileId(String localProfileId)Sets the value ofTransferAgreementConfig.getLocalProfileId()TransferAgreementConfig.BuilderpartnerProfileId(String partnerProfileId)Sets the value ofTransferAgreementConfig.getPartnerProfileId()TransferAgreementConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()TransferAgreementConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()TransferAgreementConfig.BuilderserverId(String serverId)Sets the value ofTransferAgreementConfig.getServerId()TransferAgreementConfig.Buildertags(Map<String,String> tags)Sets the value ofTransferAgreementConfig.getTags()TransferAgreementConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofTransferAgreementConfig.getTagsAll()
-
-
-
Method Detail
-
accessRole
@Stability(Stable) public TransferAgreementConfig.Builder accessRole(String accessRole)
Sets the value ofTransferAgreementConfig.getAccessRole()- Parameters:
accessRole- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_agreement#access_role TransferAgreement#access_role}. This parameter is required.- Returns:
this
-
baseDirectory
@Stability(Stable) public TransferAgreementConfig.Builder baseDirectory(String baseDirectory)
Sets the value ofTransferAgreementConfig.getBaseDirectory()- Parameters:
baseDirectory- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_agreement#base_directory TransferAgreement#base_directory}. This parameter is required.- Returns:
this
-
localProfileId
@Stability(Stable) public TransferAgreementConfig.Builder localProfileId(String localProfileId)
Sets the value ofTransferAgreementConfig.getLocalProfileId()- Parameters:
localProfileId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_agreement#local_profile_id TransferAgreement#local_profile_id}. This parameter is required.- Returns:
this
-
partnerProfileId
@Stability(Stable) public TransferAgreementConfig.Builder partnerProfileId(String partnerProfileId)
Sets the value ofTransferAgreementConfig.getPartnerProfileId()- Parameters:
partnerProfileId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_agreement#partner_profile_id TransferAgreement#partner_profile_id}. This parameter is required.- Returns:
this
-
serverId
@Stability(Stable) public TransferAgreementConfig.Builder serverId(String serverId)
Sets the value ofTransferAgreementConfig.getServerId()- Parameters:
serverId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_agreement#server_id TransferAgreement#server_id}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public TransferAgreementConfig.Builder description(String description)
Sets the value ofTransferAgreementConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_agreement#description TransferAgreement#description}.- Returns:
this
-
id
@Stability(Stable) public TransferAgreementConfig.Builder id(String id)
Sets the value ofTransferAgreementConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_agreement#id TransferAgreement#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
-
tags
@Stability(Stable) public TransferAgreementConfig.Builder tags(Map<String,String> tags)
Sets the value ofTransferAgreementConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_agreement#tags TransferAgreement#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public TransferAgreementConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofTransferAgreementConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_agreement#tags_all TransferAgreement#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public TransferAgreementConfig.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 TransferAgreementConfig.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 TransferAgreementConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public TransferAgreementConfig.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 TransferAgreementConfig.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 TransferAgreementConfig.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 TransferAgreementConfig.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 TransferAgreementConfig.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 TransferAgreementConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public TransferAgreementConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TransferAgreementConfig>- Returns:
- a new instance of
TransferAgreementConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-