@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public final class CertificateSubjectName extends Object
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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CertificateSubjectName.Builder |
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) |
Set<String> |
get__explicitlySet__() |
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() |
@ConstructorProperties(value={"country","stateProvince","locality","organization","organizationalUnit","commonName","emailAddress"}) @Deprecated 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.
Copyright © 2016–2021. All rights reserved.