Class PrivatecaCertificateConfigX509ConfigCaOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_certificate.PrivatecaCertificateConfigX509ConfigCaOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCertificateConfigX509ConfigCaOptions>
- Enclosing interface:
- PrivatecaCertificateConfigX509ConfigCaOptions
@Stability(Stable) public static final class PrivatecaCertificateConfigX509ConfigCaOptions.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCertificateConfigX509ConfigCaOptions>
A builder forPrivatecaCertificateConfigX509ConfigCaOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isCa
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigCaOptions.Builder isCa(Boolean isCa)
Sets the value ofPrivatecaCertificateConfigX509ConfigCaOptions.getIsCa()- Parameters:
isCa- When true, the "CA" in Basic Constraints extension will be set to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#is_ca PrivatecaCertificate#is_ca}- Returns:
this
-
isCa
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigCaOptions.Builder isCa(com.hashicorp.cdktf.IResolvable isCa)
Sets the value ofPrivatecaCertificateConfigX509ConfigCaOptions.getIsCa()- Parameters:
isCa- When true, the "CA" in Basic Constraints extension will be set to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#is_ca PrivatecaCertificate#is_ca}- Returns:
this
-
maxIssuerPathLength
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigCaOptions.Builder maxIssuerPathLength(Number maxIssuerPathLength)
Sets the value ofPrivatecaCertificateConfigX509ConfigCaOptions.getMaxIssuerPathLength()- 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate#max_issuer_path_length PrivatecaCertificate#max_issuer_path_length}- Returns:
this
-
nonCa
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigCaOptions.Builder nonCa(Boolean nonCa)
Sets the value ofPrivatecaCertificateConfigX509ConfigCaOptions.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#non_ca PrivatecaCertificate#non_ca}- Returns:
this
-
nonCa
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigCaOptions.Builder nonCa(com.hashicorp.cdktf.IResolvable nonCa)
Sets the value ofPrivatecaCertificateConfigX509ConfigCaOptions.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#non_ca PrivatecaCertificate#non_ca}- Returns:
this
-
zeroMaxIssuerPathLength
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigCaOptions.Builder zeroMaxIssuerPathLength(Boolean zeroMaxIssuerPathLength)
- 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#zero_max_issuer_path_length PrivatecaCertificate#zero_max_issuer_path_length}- Returns:
this
-
zeroMaxIssuerPathLength
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigCaOptions.Builder zeroMaxIssuerPathLength(com.hashicorp.cdktf.IResolvable zeroMaxIssuerPathLength)
- 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#zero_max_issuer_path_length PrivatecaCertificate#zero_max_issuer_path_length}- Returns:
this
-
build
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigCaOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCertificateConfigX509ConfigCaOptions>- Returns:
- a new instance of
PrivatecaCertificateConfigX509ConfigCaOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-