Class ApigeeKeystoresAliasesSelfSignedCertConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apigee_keystores_aliases_self_signed_cert.ApigeeKeystoresAliasesSelfSignedCertConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApigeeKeystoresAliasesSelfSignedCertConfig>
- Enclosing interface:
- ApigeeKeystoresAliasesSelfSignedCertConfig
@Stability(Stable) public static final class ApigeeKeystoresAliasesSelfSignedCertConfig.Builder extends Object implements software.amazon.jsii.Builder<ApigeeKeystoresAliasesSelfSignedCertConfig>
A builder forApigeeKeystoresAliasesSelfSignedCertConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
alias
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder alias(String alias)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getAlias()- Parameters:
alias- Alias for the key/certificate pair. This parameter is required. Values must match the regular expression [\w\s-.]{1,255}. This must be provided for all formats except selfsignedcert; self-signed certs may specify the alias in either this parameter or the JSON body. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#alias ApigeeKeystoresAliasesSelfSignedCert#alias}- Returns:
this
-
environment
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder environment(String environment)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getEnvironment()- Parameters:
environment- The Apigee environment name. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#environment ApigeeKeystoresAliasesSelfSignedCert#environment}- Returns:
this
-
keystore
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder keystore(String keystore)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getKeystore()- Parameters:
keystore- The Apigee keystore name associated in an Apigee environment. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#keystore ApigeeKeystoresAliasesSelfSignedCert#keystore}- Returns:
this
-
orgId
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder orgId(String orgId)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getOrgId()- Parameters:
orgId- The Apigee Organization name associated with the Apigee environment. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#org_id ApigeeKeystoresAliasesSelfSignedCert#org_id}- Returns:
this
-
sigAlg
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder sigAlg(String sigAlg)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getSigAlg()- Parameters:
sigAlg- Signature algorithm to generate private key. Valid values are SHA512withRSA, SHA384withRSA, and SHA256withRSA. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#sig_alg ApigeeKeystoresAliasesSelfSignedCert#sig_alg}- Returns:
this
-
subject
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder subject(ApigeeKeystoresAliasesSelfSignedCertSubject subject)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getSubject()- Parameters:
subject- subject block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#subject ApigeeKeystoresAliasesSelfSignedCert#subject}- Returns:
this
-
certValidityInDays
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder certValidityInDays(Number certValidityInDays)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getCertValidityInDays()- Parameters:
certValidityInDays- Validity duration of certificate, in days. Accepts positive non-zero value. Defaults to 365. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#cert_validity_in_days ApigeeKeystoresAliasesSelfSignedCert#cert_validity_in_days}- Returns:
this
-
id
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder id(String id)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#id ApigeeKeystoresAliasesSelfSignedCert#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
-
keySize
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder keySize(String keySize)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getKeySize()- Parameters:
keySize- Key size. Default and maximum value is 2048 bits. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#key_size ApigeeKeystoresAliasesSelfSignedCert#key_size}- Returns:
this
-
subjectAlternativeDnsNames
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder subjectAlternativeDnsNames(ApigeeKeystoresAliasesSelfSignedCertSubjectAlternativeDnsNames subjectAlternativeDnsNames)
- Parameters:
subjectAlternativeDnsNames- subject_alternative_dns_names block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#subject_alternative_dns_names ApigeeKeystoresAliasesSelfSignedCert#subject_alternative_dns_names}- Returns:
this
-
timeouts
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig.Builder timeouts(ApigeeKeystoresAliasesSelfSignedCertTimeouts timeouts)
Sets the value ofApigeeKeystoresAliasesSelfSignedCertConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_keystores_aliases_self_signed_cert#timeouts ApigeeKeystoresAliasesSelfSignedCert#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ApigeeKeystoresAliasesSelfSignedCertConfig.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 ApigeeKeystoresAliasesSelfSignedCertConfig.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 ApigeeKeystoresAliasesSelfSignedCertConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApigeeKeystoresAliasesSelfSignedCertConfig.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 ApigeeKeystoresAliasesSelfSignedCertConfig.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 ApigeeKeystoresAliasesSelfSignedCertConfig.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 ApigeeKeystoresAliasesSelfSignedCertConfig.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 ApigeeKeystoresAliasesSelfSignedCertConfig.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 ApigeeKeystoresAliasesSelfSignedCertConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApigeeKeystoresAliasesSelfSignedCertConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApigeeKeystoresAliasesSelfSignedCertConfig>- Returns:
- a new instance of
ApigeeKeystoresAliasesSelfSignedCertConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-