Class PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_ca_pool.PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions>
- Enclosing interface:
- PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions
@Stability(Stable) public static final class PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions>
A builder forPrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isCa
@Stability(Stable) public PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.Builder isCa(Boolean isCa)
Sets the value ofPrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.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_ca_pool#is_ca PrivatecaCaPool#is_ca}- Returns:
this
-
isCa
@Stability(Stable) public PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.Builder isCa(com.hashicorp.cdktf.IResolvable isCa)
Sets the value ofPrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.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_ca_pool#is_ca PrivatecaCaPool#is_ca}- Returns:
this
-
maxIssuerPathLength
@Stability(Stable) public PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_ca_pool#max_issuer_path_length PrivatecaCaPool#max_issuer_path_length}- Returns:
this
-
nonCa
@Stability(Stable) public PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.Builder nonCa(Boolean nonCa)
Sets the value ofPrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.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_ca_pool#non_ca PrivatecaCaPool#non_ca}- Returns:
this
-
nonCa
@Stability(Stable) public PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.Builder nonCa(com.hashicorp.cdktf.IResolvable nonCa)
Sets the value ofPrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.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_ca_pool#non_ca PrivatecaCaPool#non_ca}- Returns:
this
-
zeroMaxIssuerPathLength
@Stability(Stable) public PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.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_ca_pool#zero_max_issuer_path_length PrivatecaCaPool#zero_max_issuer_path_length}- Returns:
this
-
zeroMaxIssuerPathLength
@Stability(Stable) public PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions.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_ca_pool#zero_max_issuer_path_length PrivatecaCaPool#zero_max_issuer_path_length}- Returns:
this
-
build
@Stability(Stable) public PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions>- Returns:
- a new instance of
PrivatecaCaPoolIssuancePolicyBaselineValuesCaOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-