Class TransferCertificateConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.transfer_certificate.TransferCertificateConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<TransferCertificateConfig>
- Enclosing interface:
- TransferCertificateConfig
@Stability(Stable) public static final class TransferCertificateConfig.Builder extends Object implements software.amazon.jsii.Builder<TransferCertificateConfig>
A builder forTransferCertificateConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferCertificateConfigbuild()Builds the configured instance.TransferCertificateConfig.Buildercertificate(String certificate)Sets the value ofTransferCertificateConfig.getCertificate()TransferCertificateConfig.BuildercertificateChain(String certificateChain)Sets the value ofTransferCertificateConfig.getCertificateChain()TransferCertificateConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()TransferCertificateConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()TransferCertificateConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()TransferCertificateConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()TransferCertificateConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()TransferCertificateConfig.Builderdescription(String description)Sets the value ofTransferCertificateConfig.getDescription()TransferCertificateConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()TransferCertificateConfig.Builderid(String id)Sets the value ofTransferCertificateConfig.getId()TransferCertificateConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()TransferCertificateConfig.BuilderprivateKey(String privateKey)Sets the value ofTransferCertificateConfig.getPrivateKey()TransferCertificateConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()TransferCertificateConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()TransferCertificateConfig.Buildertags(Map<String,String> tags)Sets the value ofTransferCertificateConfig.getTags()TransferCertificateConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofTransferCertificateConfig.getTagsAll()TransferCertificateConfig.Builderusage(String usage)Sets the value ofTransferCertificateConfig.getUsage()
-
-
-
Method Detail
-
certificate
@Stability(Stable) public TransferCertificateConfig.Builder certificate(String certificate)
Sets the value ofTransferCertificateConfig.getCertificate()- Parameters:
certificate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_certificate#certificate TransferCertificate#certificate}. This parameter is required.- Returns:
this
-
usage
@Stability(Stable) public TransferCertificateConfig.Builder usage(String usage)
Sets the value ofTransferCertificateConfig.getUsage()- Parameters:
usage- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_certificate#usage TransferCertificate#usage}. This parameter is required.- Returns:
this
-
certificateChain
@Stability(Stable) public TransferCertificateConfig.Builder certificateChain(String certificateChain)
Sets the value ofTransferCertificateConfig.getCertificateChain()- Parameters:
certificateChain- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_certificate#certificate_chain TransferCertificate#certificate_chain}.- Returns:
this
-
description
@Stability(Stable) public TransferCertificateConfig.Builder description(String description)
Sets the value ofTransferCertificateConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_certificate#description TransferCertificate#description}.- Returns:
this
-
id
@Stability(Stable) public TransferCertificateConfig.Builder id(String id)
Sets the value ofTransferCertificateConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_certificate#id TransferCertificate#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
-
privateKey
@Stability(Stable) public TransferCertificateConfig.Builder privateKey(String privateKey)
Sets the value ofTransferCertificateConfig.getPrivateKey()- Parameters:
privateKey- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_certificate#private_key TransferCertificate#private_key}.- Returns:
this
-
tags
@Stability(Stable) public TransferCertificateConfig.Builder tags(Map<String,String> tags)
Sets the value ofTransferCertificateConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_certificate#tags TransferCertificate#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public TransferCertificateConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofTransferCertificateConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/transfer_certificate#tags_all TransferCertificate#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public TransferCertificateConfig.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 TransferCertificateConfig.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 TransferCertificateConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public TransferCertificateConfig.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 TransferCertificateConfig.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 TransferCertificateConfig.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 TransferCertificateConfig.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 TransferCertificateConfig.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 TransferCertificateConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public TransferCertificateConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TransferCertificateConfig>- Returns:
- a new instance of
TransferCertificateConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-