Class PrivatecaCertificateConfigSubjectConfigSubject.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_certificate.PrivatecaCertificateConfigSubjectConfigSubject.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCertificateConfigSubjectConfigSubject>
- Enclosing interface:
- PrivatecaCertificateConfigSubjectConfigSubject
@Stability(Stable) public static final class PrivatecaCertificateConfigSubjectConfigSubject.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCertificateConfigSubjectConfigSubject>
A builder forPrivatecaCertificateConfigSubjectConfigSubject
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
commonName
@Stability(Stable) public PrivatecaCertificateConfigSubjectConfigSubject.Builder commonName(String commonName)
Sets the value ofPrivatecaCertificateConfigSubjectConfigSubject.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#common_name PrivatecaCertificate#common_name}- Returns:
this
-
organization
@Stability(Stable) public PrivatecaCertificateConfigSubjectConfigSubject.Builder organization(String organization)
Sets the value ofPrivatecaCertificateConfigSubjectConfigSubject.getOrganization()- 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#organization PrivatecaCertificate#organization}- Returns:
this
-
countryCode
@Stability(Stable) public PrivatecaCertificateConfigSubjectConfigSubject.Builder countryCode(String countryCode)
Sets the value ofPrivatecaCertificateConfigSubjectConfigSubject.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#country_code PrivatecaCertificate#country_code}- Returns:
this
-
locality
@Stability(Stable) public PrivatecaCertificateConfigSubjectConfigSubject.Builder locality(String locality)
Sets the value ofPrivatecaCertificateConfigSubjectConfigSubject.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#locality PrivatecaCertificate#locality}- Returns:
this
-
organizationalUnit
@Stability(Stable) public PrivatecaCertificateConfigSubjectConfigSubject.Builder organizationalUnit(String organizationalUnit)
Sets the value ofPrivatecaCertificateConfigSubjectConfigSubject.getOrganizationalUnit()- 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#organizational_unit PrivatecaCertificate#organizational_unit}- Returns:
this
-
postalCode
@Stability(Stable) public PrivatecaCertificateConfigSubjectConfigSubject.Builder postalCode(String postalCode)
Sets the value ofPrivatecaCertificateConfigSubjectConfigSubject.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#postal_code PrivatecaCertificate#postal_code}- Returns:
this
-
province
@Stability(Stable) public PrivatecaCertificateConfigSubjectConfigSubject.Builder province(String province)
Sets the value ofPrivatecaCertificateConfigSubjectConfigSubject.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#province PrivatecaCertificate#province}- Returns:
this
-
streetAddress
@Stability(Stable) public PrivatecaCertificateConfigSubjectConfigSubject.Builder streetAddress(String streetAddress)
Sets the value ofPrivatecaCertificateConfigSubjectConfigSubject.getStreetAddress()- 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#street_address PrivatecaCertificate#street_address}- Returns:
this
-
build
@Stability(Stable) public PrivatecaCertificateConfigSubjectConfigSubject build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCertificateConfigSubjectConfigSubject>- Returns:
- a new instance of
PrivatecaCertificateConfigSubjectConfigSubject - Throws:
NullPointerException- if any required attribute was not provided
-
-