Class CertificateInfo


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20211201")
    public final class CertificateInfo
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Properties of certificate
    Note: Objects should always be created or deserialized using the CertificateInfo.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 CertificateInfo.Builder, which maintain a set of all explicitly set fields called CertificateInfo.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).

    • Constructor Detail

      • CertificateInfo

        @Deprecated
        @ConstructorProperties({"commonName","subjectAltNames","organizationName","organizationUnit","locality","state","country","emailAddress","originCsr","akamaiCsr","originDvCertInstruction","akamaiDvCertInstruction","firstName","lastName","phoneNumber","postalCode"})
        public CertificateInfo​(String commonName,
                               List<String> subjectAltNames,
                               String organizationName,
                               String organizationUnit,
                               String locality,
                               String state,
                               String country,
                               String emailAddress,
                               String originCsr,
                               String akamaiCsr,
                               String originDvCertInstruction,
                               String akamaiDvCertInstruction,
                               String firstName,
                               String lastName,
                               String phoneNumber,
                               String postalCode)
        Deprecated.
    • Method Detail

      • getCommonName

        public String getCommonName()
        Fully qualified host name
        Returns:
        the value
      • getSubjectAltNames

        public List<String> getSubjectAltNames()
        List of subject alternative names, comma separated
        Returns:
        the value
      • getOrganizationName

        public String getOrganizationName()
        Company name
        Returns:
        the value
      • getOrganizationUnit

        public String getOrganizationUnit()
        Company section
        Returns:
        the value
      • getLocality

        public String getLocality()
        City
        Returns:
        the value
      • getState

        public String getState()
        State or province
        Returns:
        the value
      • getCountry

        public String getCountry()
        Country name
        Returns:
        the value
      • getEmailAddress

        public String getEmailAddress()
        Email address
        Returns:
        the value
      • getOriginCsr

        public String getOriginCsr()
        Certificate signing request
        Returns:
        the value
      • getAkamaiCsr

        public String getAkamaiCsr()
        Akamai Certificate signing request
        Returns:
        the value
      • getOriginDvCertInstruction

        public String getOriginDvCertInstruction()
        Dv Cert instruction to validate domain, e.g.

        set DNS token or HTTP token, etc

        Returns:
        the value
      • getAkamaiDvCertInstruction

        public String getAkamaiDvCertInstruction()
        Akamai Dv Cert instruction to validate domain, e.g.

        set DNS token or HTTP token, etc

        Returns:
        the value
      • getFirstName

        public String getFirstName()
        First name
        Returns:
        the value
      • getLastName

        public String getLastName()
        Last name
        Returns:
        the value
      • getPhoneNumber

        public String getPhoneNumber()
        Phone number
        Returns:
        the value
      • getPostalCode

        public String getPostalCode()
        Postal code
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel