Class CertificateSubject
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.certificatesmanagement.model.CertificateSubject
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public final class CertificateSubject extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The subject of the certificate, which is a distinguished name that identifies the entity that owns the public key in the certificate.
Note: Objects should always be created or deserialized using theCertificateSubject.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 theCertificateSubject.Builder
, which maintain a set of all explicitly set fields calledCertificateSubject.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CertificateSubject.Builder
-
Constructor Summary
Constructors Constructor Description CertificateSubject(String commonName, String country, String domainComponent, String distinguishedNameQualifier, String generationQualifier, String givenName, String initials, String localityName, String organization, String organizationalUnit, String pseudonym, String serialNumber, String stateOrProvinceName, String street, String surname, String title, String userId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateSubject.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCommonName()
Common name or fully-qualified domain name (RDN CN).String
getCountry()
Country name (RDN C).String
getDistinguishedNameQualifier()
Distinguished name qualifier(RDN DNQ).String
getDomainComponent()
Domain component (RDN DC).String
getGenerationQualifier()
Personal generational qualifier (for example, Sr., Jr.String
getGivenName()
Personal given name (RDN G or GN).String
getInitials()
Personal initials.String
getLocalityName()
Locality (RDN L).String
getOrganization()
Organization (RDN O).String
getOrganizationalUnit()
Organizational unit (RDN OU).String
getPseudonym()
Subject pseudonym.String
getSerialNumber()
Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).String
getStateOrProvinceName()
State or province name (RDN ST or S).String
getStreet()
Street address (RDN STREET).String
getSurname()
Personal surname (RDN SN).String
getTitle()
Title (RDN T or TITLE).String
getUserId()
User ID (RDN UID).int
hashCode()
CertificateSubject.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CertificateSubject
@Deprecated @ConstructorProperties({"commonName","country","domainComponent","distinguishedNameQualifier","generationQualifier","givenName","initials","localityName","organization","organizationalUnit","pseudonym","serialNumber","stateOrProvinceName","street","surname","title","userId"}) public CertificateSubject(String commonName, String country, String domainComponent, String distinguishedNameQualifier, String generationQualifier, String givenName, String initials, String localityName, String organization, String organizationalUnit, String pseudonym, String serialNumber, String stateOrProvinceName, String street, String surname, String title, String userId)
Deprecated.
-
-
Method Detail
-
builder
public static CertificateSubject.Builder builder()
Create a new builder.
-
toBuilder
public CertificateSubject.Builder toBuilder()
-
getCommonName
public String getCommonName()
Common name or fully-qualified domain name (RDN CN).- Returns:
- the value
-
getCountry
public String getCountry()
Country name (RDN C).- Returns:
- the value
-
getDomainComponent
public String getDomainComponent()
Domain component (RDN DC).- Returns:
- the value
-
getDistinguishedNameQualifier
public String getDistinguishedNameQualifier()
Distinguished name qualifier(RDN DNQ).- Returns:
- the value
-
getGenerationQualifier
public String getGenerationQualifier()
Personal generational qualifier (for example, Sr., Jr.3rd, or IV).
- Returns:
- the value
-
getGivenName
public String getGivenName()
Personal given name (RDN G or GN).- Returns:
- the value
-
getInitials
public String getInitials()
Personal initials.- Returns:
- the value
-
getLocalityName
public String getLocalityName()
Locality (RDN L).- Returns:
- the value
-
getOrganization
public String getOrganization()
Organization (RDN O).- Returns:
- the value
-
getOrganizationalUnit
public String getOrganizationalUnit()
Organizational unit (RDN OU).- Returns:
- the value
-
getPseudonym
public String getPseudonym()
Subject pseudonym.- Returns:
- the value
-
getSerialNumber
public String getSerialNumber()
Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).- Returns:
- the value
-
getStateOrProvinceName
public String getStateOrProvinceName()
State or province name (RDN ST or S).- Returns:
- the value
-
getStreet
public String getStreet()
Street address (RDN STREET).- Returns:
- the value
-
getSurname
public String getSurname()
Personal surname (RDN SN).- Returns:
- the value
-
getTitle
public String getTitle()
Title (RDN T or TITLE).- Returns:
- the value
-
getUserId
public String getUserId()
User ID (RDN UID).- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-