@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public final class CertificateSubjectName extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The entity to be secured by the certificate.
Note: Objects should always be created or deserialized using the CertificateSubjectName.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the CertificateSubjectName.Builder
, which maintain a
set of all explicitly set fields called CertificateSubjectName.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CertificateSubjectName.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CertificateSubjectName(String country,
String stateProvince,
String locality,
String organization,
String organizationalUnit,
String commonName,
String emailAddress)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CertificateSubjectName.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCommonName()
The fully qualified domain name used for DNS lookups of the server.
|
String |
getCountry()
ISO 3166-1 alpha-2 code of the country where the organization is located.
|
String |
getEmailAddress()
The email address of the server’s administrator.
|
String |
getLocality()
The city in which the organization is located.
|
String |
getOrganization()
The organization name.
|
String |
getOrganizationalUnit()
The field to differentiate between divisions within an organization.
|
String |
getStateProvince()
The province where the organization is located.
|
int |
hashCode() |
CertificateSubjectName.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"country","stateProvince","locality","organization","organizationalUnit","commonName","emailAddress"}) public CertificateSubjectName(String country, String stateProvince, String locality, String organization, String organizationalUnit, String commonName, String emailAddress)
public static CertificateSubjectName.Builder builder()
Create a new builder.
public CertificateSubjectName.Builder toBuilder()
public String getCountry()
ISO 3166-1 alpha-2 code of the country where the organization is located. For a list of codes, see ISO’s website.
public String getStateProvince()
The province where the organization is located.
public String getLocality()
The city in which the organization is located.
public String getOrganization()
The organization name.
public String getOrganizationalUnit()
The field to differentiate between divisions within an organization.
public String getCommonName()
The fully qualified domain name used for DNS lookups of the server.
public String getEmailAddress()
The email address of the server’s administrator.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.