Class PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_certificate_authority.PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCertificateAuthorityConfigSubjectConfigSubject>
- Enclosing interface:
- PrivatecaCertificateAuthorityConfigSubjectConfigSubject
@Stability(Stable) public static final class PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCertificateAuthorityConfigSubjectConfigSubject>
A builder forPrivatecaCertificateAuthorityConfigSubjectConfigSubject
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
commonName
@Stability(Stable) public PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder commonName(String commonName)
Sets the value ofPrivatecaCertificateAuthorityConfigSubjectConfigSubject.getCommonName()- Parameters:
commonName- The common name of the distinguished name. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#common_name PrivatecaCertificateAuthority#common_name}- Returns:
this
-
organization
@Stability(Stable) public PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder organization(String organization)
- Parameters:
organization- The organization of the subject. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#organization PrivatecaCertificateAuthority#organization}- Returns:
this
-
countryCode
@Stability(Stable) public PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder countryCode(String countryCode)
Sets the value ofPrivatecaCertificateAuthorityConfigSubjectConfigSubject.getCountryCode()- Parameters:
countryCode- The country code of the subject. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#country_code PrivatecaCertificateAuthority#country_code}- Returns:
this
-
locality
@Stability(Stable) public PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder locality(String locality)
Sets the value ofPrivatecaCertificateAuthorityConfigSubjectConfigSubject.getLocality()- Parameters:
locality- The locality or city of the subject. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#locality PrivatecaCertificateAuthority#locality}- Returns:
this
-
organizationalUnit
@Stability(Stable) public PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder organizationalUnit(String organizationalUnit)
- Parameters:
organizationalUnit- The organizational unit of the subject. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#organizational_unit PrivatecaCertificateAuthority#organizational_unit}- Returns:
this
-
postalCode
@Stability(Stable) public PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder postalCode(String postalCode)
Sets the value ofPrivatecaCertificateAuthorityConfigSubjectConfigSubject.getPostalCode()- Parameters:
postalCode- The postal code of the subject. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#postal_code PrivatecaCertificateAuthority#postal_code}- Returns:
this
-
province
@Stability(Stable) public PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder province(String province)
Sets the value ofPrivatecaCertificateAuthorityConfigSubjectConfigSubject.getProvince()- Parameters:
province- The province, territory, or regional state of the subject. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#province PrivatecaCertificateAuthority#province}- Returns:
this
-
streetAddress
@Stability(Stable) public PrivatecaCertificateAuthorityConfigSubjectConfigSubject.Builder streetAddress(String streetAddress)
- Parameters:
streetAddress- The street address of the subject. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#street_address PrivatecaCertificateAuthority#street_address}- Returns:
this
-
build
@Stability(Stable) public PrivatecaCertificateAuthorityConfigSubjectConfigSubject build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCertificateAuthorityConfigSubjectConfigSubject>- Returns:
- a new instance of
PrivatecaCertificateAuthorityConfigSubjectConfigSubject - Throws:
NullPointerException- if any required attribute was not provided
-
-