Class PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_certificate_authority.PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints>
- Enclosing interface:
- PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints
@Stability(Stable) public static final class PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
critical
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder critical(Boolean critical)
- Parameters:
critical- Indicates whether or not the name constraints are marked critical. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#critical PrivatecaCertificateAuthority#critical}- Returns:
this
-
critical
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder critical(com.hashicorp.cdktf.IResolvable critical)
- Parameters:
critical- Indicates whether or not the name constraints are marked critical. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#critical PrivatecaCertificateAuthority#critical}- Returns:
this
-
excludedDnsNames
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder excludedDnsNames(List<String> excludedDnsNames)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.getExcludedDnsNames()- Parameters:
excludedDnsNames- Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, 'example.com', 'www.example.com', 'www.sub.example.com' would satisfy 'example.com' while 'example1.com' does not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#excluded_dns_names PrivatecaCertificateAuthority#excluded_dns_names}- Returns:
this
-
excludedEmailAddresses
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder excludedEmailAddresses(List<String> excludedEmailAddresses)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.getExcludedEmailAddresses()- Parameters:
excludedEmailAddresses- Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. '.example.com') to indicate all email addresses in that domain. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#excluded_email_addresses PrivatecaCertificateAuthority#excluded_email_addresses}- Returns:
this
-
excludedIpRanges
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder excludedIpRanges(List<String> excludedIpRanges)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.getExcludedIpRanges()- Parameters:
excludedIpRanges- Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#excluded_ip_ranges PrivatecaCertificateAuthority#excluded_ip_ranges}- Returns:
this
-
excludedUris
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder excludedUris(List<String> excludedUris)
- Parameters:
excludedUris- Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like '.example.com') Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#excluded_uris PrivatecaCertificateAuthority#excluded_uris}- Returns:
this
-
permittedDnsNames
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder permittedDnsNames(List<String> permittedDnsNames)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.getPermittedDnsNames()- Parameters:
permittedDnsNames- Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, 'example.com', 'www.example.com', 'www.sub.example.com' would satisfy 'example.com' while 'example1.com' does not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#permitted_dns_names PrivatecaCertificateAuthority#permitted_dns_names}- Returns:
this
-
permittedEmailAddresses
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder permittedEmailAddresses(List<String> permittedEmailAddresses)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.getPermittedEmailAddresses()- Parameters:
permittedEmailAddresses- Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. '.example.com') to indicate all email addresses in that domain. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#permitted_email_addresses PrivatecaCertificateAuthority#permitted_email_addresses}- Returns:
this
-
permittedIpRanges
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder permittedIpRanges(List<String> permittedIpRanges)
Sets the value ofPrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.getPermittedIpRanges()- Parameters:
permittedIpRanges- Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#permitted_ip_ranges PrivatecaCertificateAuthority#permitted_ip_ranges}- Returns:
this
-
permittedUris
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints.Builder permittedUris(List<String> permittedUris)
- Parameters:
permittedUris- Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like '.example.com') Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#permitted_uris PrivatecaCertificateAuthority#permitted_uris}- Returns:
this
-
build
@Stability(Stable) public PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints>- Returns:
- a new instance of
PrivatecaCertificateAuthorityConfigX509ConfigNameConstraints - Throws:
NullPointerException- if any required attribute was not provided
-
-