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