Class PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_certificate_authority.PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCertificateAuthorityConfigX509ConfigCaOptions>
- Enclosing interface:
- PrivatecaCertificateAuthorityConfigX509ConfigCaOptions
@Stability(Stable) public static final class PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCertificateAuthorityConfigX509ConfigCaOptions>
A builder forPrivatecaCertificateAuthorityConfigX509ConfigCaOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isCa
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder isCa(Boolean isCa)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigCaOptions.getIsCa()- Parameters:
isCa- When true, the "CA" in Basic Constraints extension will be set to true. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#is_ca PrivatecaCertificateAuthority#is_ca}- Returns:
this
-
isCa
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder isCa(com.hashicorp.cdktf.IResolvable isCa)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigCaOptions.getIsCa()- Parameters:
isCa- When true, the "CA" in Basic Constraints extension will be set to true. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#is_ca PrivatecaCertificateAuthority#is_ca}- Returns:
this
-
maxIssuerPathLength
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder maxIssuerPathLength(Number maxIssuerPathLength)
- Parameters:
maxIssuerPathLength- Refers to the "path length constraint" in Basic Constraints extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. Setting the value to 0 requires setting 'zero_max_issuer_path_length = true'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#max_issuer_path_length PrivatecaCertificateAuthority#max_issuer_path_length}- Returns:
this
-
nonCa
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder nonCa(Boolean nonCa)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigCaOptions.getNonCa()- Parameters:
nonCa- When true, the "CA" in Basic Constraints extension will be set to false. If both 'is_ca' and 'non_ca' are unset, the extension will be omitted from the CA certificate. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#non_ca PrivatecaCertificateAuthority#non_ca}- Returns:
this
-
nonCa
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder nonCa(com.hashicorp.cdktf.IResolvable nonCa)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigCaOptions.getNonCa()- Parameters:
nonCa- When true, the "CA" in Basic Constraints extension will be set to false. If both 'is_ca' and 'non_ca' are unset, the extension will be omitted from the CA certificate. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#non_ca PrivatecaCertificateAuthority#non_ca}- Returns:
this
-
zeroMaxIssuerPathLength
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder zeroMaxIssuerPathLength(Boolean zeroMaxIssuerPathLength)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigCaOptions.getZeroMaxIssuerPathLength()- Parameters:
zeroMaxIssuerPathLength- When true, the "path length constraint" in Basic Constraints extension will be set to 0. If both 'max_issuer_path_length' and 'zero_max_issuer_path_length' are unset, the max path length will be omitted from the CA certificate. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#zero_max_issuer_path_length PrivatecaCertificateAuthority#zero_max_issuer_path_length}- Returns:
this
-
zeroMaxIssuerPathLength
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigCaOptions.Builder zeroMaxIssuerPathLength(com.hashicorp.cdktf.IResolvable zeroMaxIssuerPathLength)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigCaOptions.getZeroMaxIssuerPathLength()- Parameters:
zeroMaxIssuerPathLength- When true, the "path length constraint" in Basic Constraints extension will be set to 0. If both 'max_issuer_path_length' and 'zero_max_issuer_path_length' are unset, the max path length will be omitted from the CA certificate. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#zero_max_issuer_path_length PrivatecaCertificateAuthority#zero_max_issuer_path_length}- Returns:
this
-
build
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigCaOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCertificateAuthorityConfigX509ConfigCaOptions>- Returns:
- a new instance of
PrivatecaCertificateAuthorityConfigX509ConfigCaOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-