Class PrivatecaCaPoolPublishingOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_ca_pool.PrivatecaCaPoolPublishingOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCaPoolPublishingOptions>
- Enclosing interface:
- PrivatecaCaPoolPublishingOptions
@Stability(Stable) public static final class PrivatecaCaPoolPublishingOptions.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCaPoolPublishingOptions>
A builder forPrivatecaCaPoolPublishingOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivatecaCaPoolPublishingOptionsbuild()Builds the configured instance.PrivatecaCaPoolPublishingOptions.BuilderencodingFormat(String encodingFormat)Sets the value ofPrivatecaCaPoolPublishingOptions.getEncodingFormat()PrivatecaCaPoolPublishingOptions.BuilderpublishCaCert(com.hashicorp.cdktf.IResolvable publishCaCert)Sets the value ofPrivatecaCaPoolPublishingOptions.getPublishCaCert()PrivatecaCaPoolPublishingOptions.BuilderpublishCaCert(Boolean publishCaCert)Sets the value ofPrivatecaCaPoolPublishingOptions.getPublishCaCert()PrivatecaCaPoolPublishingOptions.BuilderpublishCrl(com.hashicorp.cdktf.IResolvable publishCrl)Sets the value ofPrivatecaCaPoolPublishingOptions.getPublishCrl()PrivatecaCaPoolPublishingOptions.BuilderpublishCrl(Boolean publishCrl)Sets the value ofPrivatecaCaPoolPublishingOptions.getPublishCrl()
-
-
-
Method Detail
-
publishCaCert
@Stability(Stable) public PrivatecaCaPoolPublishingOptions.Builder publishCaCert(Boolean publishCaCert)
Sets the value ofPrivatecaCaPoolPublishingOptions.getPublishCaCert()- Parameters:
publishCaCert- When true, publishes each CertificateAuthority's CA certificate and includes its URL in the "Authority Information Access" X.509 extension in all issued Certificates. If this is false, the CA certificate will not be published and the corresponding X.509 extension will not be written in issued certificates. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_ca_pool#publish_ca_cert PrivatecaCaPool#publish_ca_cert}- Returns:
this
-
publishCaCert
@Stability(Stable) public PrivatecaCaPoolPublishingOptions.Builder publishCaCert(com.hashicorp.cdktf.IResolvable publishCaCert)
Sets the value ofPrivatecaCaPoolPublishingOptions.getPublishCaCert()- Parameters:
publishCaCert- When true, publishes each CertificateAuthority's CA certificate and includes its URL in the "Authority Information Access" X.509 extension in all issued Certificates. If this is false, the CA certificate will not be published and the corresponding X.509 extension will not be written in issued certificates. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_ca_pool#publish_ca_cert PrivatecaCaPool#publish_ca_cert}- Returns:
this
-
publishCrl
@Stability(Stable) public PrivatecaCaPoolPublishingOptions.Builder publishCrl(Boolean publishCrl)
Sets the value ofPrivatecaCaPoolPublishingOptions.getPublishCrl()- Parameters:
publishCrl- When true, publishes each CertificateAuthority's CRL and includes its URL in the "CRL Distribution Points" X.509 extension in all issued Certificates. If this is false, CRLs will not be published and the corresponding X.509 extension will not be written in issued certificates. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_ca_pool#publish_crl PrivatecaCaPool#publish_crl}- Returns:
this
-
publishCrl
@Stability(Stable) public PrivatecaCaPoolPublishingOptions.Builder publishCrl(com.hashicorp.cdktf.IResolvable publishCrl)
Sets the value ofPrivatecaCaPoolPublishingOptions.getPublishCrl()- Parameters:
publishCrl- When true, publishes each CertificateAuthority's CRL and includes its URL in the "CRL Distribution Points" X.509 extension in all issued Certificates. If this is false, CRLs will not be published and the corresponding X.509 extension will not be written in issued certificates. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_ca_pool#publish_crl PrivatecaCaPool#publish_crl}- Returns:
this
-
encodingFormat
@Stability(Stable) public PrivatecaCaPoolPublishingOptions.Builder encodingFormat(String encodingFormat)
Sets the value ofPrivatecaCaPoolPublishingOptions.getEncodingFormat()- Parameters:
encodingFormat- Specifies the encoding format of each CertificateAuthority's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM. Possible values: ["PEM", "DER"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_ca_pool#encoding_format PrivatecaCaPool#encoding_format}- Returns:
this
-
build
@Stability(Stable) public PrivatecaCaPoolPublishingOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCaPoolPublishingOptions>- Returns:
- a new instance of
PrivatecaCaPoolPublishingOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-