Class DataAwsAcmpcaCertificateConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.data_aws_acmpca_certificate.DataAwsAcmpcaCertificateConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataAwsAcmpcaCertificateConfig>
- Enclosing interface:
- DataAwsAcmpcaCertificateConfig
@Stability(Stable) public static final class DataAwsAcmpcaCertificateConfig.Builder extends Object implements software.amazon.jsii.Builder<DataAwsAcmpcaCertificateConfig>
A builder forDataAwsAcmpcaCertificateConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAwsAcmpcaCertificateConfig.Builderarn(String arn)Sets the value ofDataAwsAcmpcaCertificateConfig.getArn()DataAwsAcmpcaCertificateConfigbuild()Builds the configured instance.DataAwsAcmpcaCertificateConfig.BuildercertificateAuthorityArn(String certificateAuthorityArn)Sets the value ofDataAwsAcmpcaCertificateConfig.getCertificateAuthorityArn()DataAwsAcmpcaCertificateConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataAwsAcmpcaCertificateConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataAwsAcmpcaCertificateConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataAwsAcmpcaCertificateConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataAwsAcmpcaCertificateConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataAwsAcmpcaCertificateConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataAwsAcmpcaCertificateConfig.Builderid(String id)Sets the value ofDataAwsAcmpcaCertificateConfig.getId()DataAwsAcmpcaCertificateConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataAwsAcmpcaCertificateConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataAwsAcmpcaCertificateConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()
-
-
-
Method Detail
-
arn
@Stability(Stable) public DataAwsAcmpcaCertificateConfig.Builder arn(String arn)
Sets the value ofDataAwsAcmpcaCertificateConfig.getArn()- Parameters:
arn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/acmpca_certificate#arn DataAwsAcmpcaCertificate#arn}. This parameter is required.- Returns:
this
-
certificateAuthorityArn
@Stability(Stable) public DataAwsAcmpcaCertificateConfig.Builder certificateAuthorityArn(String certificateAuthorityArn)
Sets the value ofDataAwsAcmpcaCertificateConfig.getCertificateAuthorityArn()- Parameters:
certificateAuthorityArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/acmpca_certificate#certificate_authority_arn DataAwsAcmpcaCertificate#certificate_authority_arn}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataAwsAcmpcaCertificateConfig.Builder id(String id)
Sets the value ofDataAwsAcmpcaCertificateConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/data-sources/acmpca_certificate#id DataAwsAcmpcaCertificate#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
-
connection
@Stability(Experimental) public DataAwsAcmpcaCertificateConfig.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 DataAwsAcmpcaCertificateConfig.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 DataAwsAcmpcaCertificateConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataAwsAcmpcaCertificateConfig.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 DataAwsAcmpcaCertificateConfig.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 DataAwsAcmpcaCertificateConfig.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 DataAwsAcmpcaCertificateConfig.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 DataAwsAcmpcaCertificateConfig.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 DataAwsAcmpcaCertificateConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataAwsAcmpcaCertificateConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataAwsAcmpcaCertificateConfig>- Returns:
- a new instance of
DataAwsAcmpcaCertificateConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-