Class PrivatecaCertificateConfigX509ConfigNameConstraints.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_certificate.PrivatecaCertificateConfigX509ConfigNameConstraints.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCertificateConfigX509ConfigNameConstraints>
- Enclosing interface:
- PrivatecaCertificateConfigX509ConfigNameConstraints
@Stability(Stable) public static final class PrivatecaCertificateConfigX509ConfigNameConstraints.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCertificateConfigX509ConfigNameConstraints>
A builder forPrivatecaCertificateConfigX509ConfigNameConstraints
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
critical
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder critical(Boolean critical)
Sets the value ofPrivatecaCertificateConfigX509ConfigNameConstraints.getCritical()- 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#critical PrivatecaCertificate#critical}- Returns:
this
-
critical
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder critical(com.hashicorp.cdktf.IResolvable critical)
Sets the value ofPrivatecaCertificateConfigX509ConfigNameConstraints.getCritical()- 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#critical PrivatecaCertificate#critical}- Returns:
this
-
excludedDnsNames
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder excludedDnsNames(List<String> excludedDnsNames)
- 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#excluded_dns_names PrivatecaCertificate#excluded_dns_names}- Returns:
this
-
excludedEmailAddresses
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder excludedEmailAddresses(List<String> excludedEmailAddresses)
- 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#excluded_email_addresses PrivatecaCertificate#excluded_email_addresses}- Returns:
this
-
excludedIpRanges
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder excludedIpRanges(List<String> excludedIpRanges)
- 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#excluded_ip_ranges PrivatecaCertificate#excluded_ip_ranges}- Returns:
this
-
excludedUris
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder excludedUris(List<String> excludedUris)
Sets the value ofPrivatecaCertificateConfigX509ConfigNameConstraints.getExcludedUris()- 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#excluded_uris PrivatecaCertificate#excluded_uris}- Returns:
this
-
permittedDnsNames
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder permittedDnsNames(List<String> permittedDnsNames)
- 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#permitted_dns_names PrivatecaCertificate#permitted_dns_names}- Returns:
this
-
permittedEmailAddresses
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder permittedEmailAddresses(List<String> permittedEmailAddresses)
- 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#permitted_email_addresses PrivatecaCertificate#permitted_email_addresses}- Returns:
this
-
permittedIpRanges
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder permittedIpRanges(List<String> permittedIpRanges)
- 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#permitted_ip_ranges PrivatecaCertificate#permitted_ip_ranges}- Returns:
this
-
permittedUris
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints.Builder permittedUris(List<String> permittedUris)
Sets the value ofPrivatecaCertificateConfigX509ConfigNameConstraints.getPermittedUris()- 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#permitted_uris PrivatecaCertificate#permitted_uris}- Returns:
this
-
build
@Stability(Stable) public PrivatecaCertificateConfigX509ConfigNameConstraints build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCertificateConfigX509ConfigNameConstraints>- Returns:
- a new instance of
PrivatecaCertificateConfigX509ConfigNameConstraints - Throws:
NullPointerException- if any required attribute was not provided
-
-