Class PrivatecaCertificateTemplatePredefinedValuesCaOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_certificate_template.PrivatecaCertificateTemplatePredefinedValuesCaOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCertificateTemplatePredefinedValuesCaOptions>
- Enclosing interface:
- PrivatecaCertificateTemplatePredefinedValuesCaOptions
@Stability(Stable) public static final class PrivatecaCertificateTemplatePredefinedValuesCaOptions.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCertificateTemplatePredefinedValuesCaOptions>
A builder forPrivatecaCertificateTemplatePredefinedValuesCaOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivatecaCertificateTemplatePredefinedValuesCaOptionsbuild()Builds the configured instance.PrivatecaCertificateTemplatePredefinedValuesCaOptions.BuilderisCa(com.hashicorp.cdktf.IResolvable isCa)Sets the value ofPrivatecaCertificateTemplatePredefinedValuesCaOptions.getIsCa()PrivatecaCertificateTemplatePredefinedValuesCaOptions.BuilderisCa(Boolean isCa)Sets the value ofPrivatecaCertificateTemplatePredefinedValuesCaOptions.getIsCa()PrivatecaCertificateTemplatePredefinedValuesCaOptions.BuildermaxIssuerPathLength(Number maxIssuerPathLength)
-
-
-
Method Detail
-
isCa
@Stability(Stable) public PrivatecaCertificateTemplatePredefinedValuesCaOptions.Builder isCa(Boolean isCa)
Sets the value ofPrivatecaCertificateTemplatePredefinedValuesCaOptions.getIsCa()- Parameters:
isCa- Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, 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_template#is_ca PrivatecaCertificateTemplate#is_ca}- Returns:
this
-
isCa
@Stability(Stable) public PrivatecaCertificateTemplatePredefinedValuesCaOptions.Builder isCa(com.hashicorp.cdktf.IResolvable isCa)
Sets the value ofPrivatecaCertificateTemplatePredefinedValuesCaOptions.getIsCa()- Parameters:
isCa- Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, 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_template#is_ca PrivatecaCertificateTemplate#is_ca}- Returns:
this
-
maxIssuerPathLength
@Stability(Stable) public PrivatecaCertificateTemplatePredefinedValuesCaOptions.Builder maxIssuerPathLength(Number maxIssuerPathLength)
- Parameters:
maxIssuerPathLength- Optional. Refers to the path length restriction X.509 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. If this value is missing, 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_template#max_issuer_path_length PrivatecaCertificateTemplate#max_issuer_path_length}- Returns:
this
-
build
@Stability(Stable) public PrivatecaCertificateTemplatePredefinedValuesCaOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCertificateTemplatePredefinedValuesCaOptions>- Returns:
- a new instance of
PrivatecaCertificateTemplatePredefinedValuesCaOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-