Package com.oracle.bmc.goldengate.model
Class Certificate
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.goldengate.model.Certificate
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class Certificate extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelCertificate data.
 Note: Objects should always be created or deserialized using theCertificate.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 theCertificate.Builder, which maintain a set of all explicitly set fields calledCertificate.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 SummaryNested Classes Modifier and Type Class Description static classCertificate.Builder
 - 
Constructor SummaryConstructors Constructor Description Certificate(String key, String deploymentId, String certificateContent, String issuer, Boolean isSelfSigned, String md5Hash, String publicKey, String publicKeyAlgorithm, Long publicKeySize, String serial, String subject, Date timeValidFrom, Date timeValidTo, String version, String sha1Hash, String authorityKeyId, Boolean isCa, String subjectKeyId, CertificateLifecycleState lifecycleState, Date timeCreated)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Certificate.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAuthorityKeyId()The Certificate authority key id.StringgetCertificateContent()The base64 encoded content of the PEM file containing the SSL certificate.StringgetDeploymentId()The OCID of the deployment being referenced.BooleangetIsCa()Indicates if the certificate is ca.BooleangetIsSelfSigned()Indicates if the certificate is self signed.StringgetIssuer()The Certificate issuer.StringgetKey()The identifier key (unique name in the scope of the deployment) of the certificate being referenced.CertificateLifecycleStategetLifecycleState()Possible certificate lifecycle states.StringgetMd5Hash()The Certificate md5Hash.StringgetPublicKey()The Certificate public key.StringgetPublicKeyAlgorithm()The Certificate public key algorithm.LonggetPublicKeySize()The Certificate public key size.StringgetSerial()The Certificate serial.StringgetSha1Hash()The Certificate sha1 hash.StringgetSubject()The Certificate subject.StringgetSubjectKeyId()The Certificate subject key id.DategetTimeCreated()The time the resource was created.DategetTimeValidFrom()The time the certificate is valid from.DategetTimeValidTo()The time the certificate is valid to.StringgetVersion()The Certificate version.inthashCode()Certificate.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Certificate@Deprecated @ConstructorProperties({"key","deploymentId","certificateContent","issuer","isSelfSigned","md5Hash","publicKey","publicKeyAlgorithm","publicKeySize","serial","subject","timeValidFrom","timeValidTo","version","sha1Hash","authorityKeyId","isCa","subjectKeyId","lifecycleState","timeCreated"}) public Certificate(String key, String deploymentId, String certificateContent, String issuer, Boolean isSelfSigned, String md5Hash, String publicKey, String publicKeyAlgorithm, Long publicKeySize, String serial, String subject, Date timeValidFrom, Date timeValidTo, String version, String sha1Hash, String authorityKeyId, Boolean isCa, String subjectKeyId, CertificateLifecycleState lifecycleState, Date timeCreated) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Certificate.Builder builder() Create a new builder.
 - 
toBuilderpublic Certificate.Builder toBuilder() 
 - 
getKeypublic String getKey() The identifier key (unique name in the scope of the deployment) of the certificate being referenced.It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter. - Returns:
- the value
 
 - 
getDeploymentIdpublic String getDeploymentId() The OCID of the deployment being referenced.- Returns:
- the value
 
 - 
getCertificateContentpublic String getCertificateContent() The base64 encoded content of the PEM file containing the SSL certificate.- Returns:
- the value
 
 - 
getIssuerpublic String getIssuer() The Certificate issuer.- Returns:
- the value
 
 - 
getIsSelfSignedpublic Boolean getIsSelfSigned() Indicates if the certificate is self signed.- Returns:
- the value
 
 - 
getMd5Hashpublic String getMd5Hash() The Certificate md5Hash.- Returns:
- the value
 
 - 
getPublicKeypublic String getPublicKey() The Certificate public key.- Returns:
- the value
 
 - 
getPublicKeyAlgorithmpublic String getPublicKeyAlgorithm() The Certificate public key algorithm.- Returns:
- the value
 
 - 
getPublicKeySizepublic Long getPublicKeySize() The Certificate public key size.- Returns:
- the value
 
 - 
getSerialpublic String getSerial() The Certificate serial.- Returns:
- the value
 
 - 
getSubjectpublic String getSubject() The Certificate subject.- Returns:
- the value
 
 - 
getTimeValidFrompublic Date getTimeValidFrom() The time the certificate is valid from.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z. - Returns:
- the value
 
 - 
getTimeValidTopublic Date getTimeValidTo() The time the certificate is valid to.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z. - Returns:
- the value
 
 - 
getVersionpublic String getVersion() The Certificate version.- Returns:
- the value
 
 - 
getSha1Hashpublic String getSha1Hash() The Certificate sha1 hash.- Returns:
- the value
 
 - 
getAuthorityKeyIdpublic String getAuthorityKeyId() The Certificate authority key id.- Returns:
- the value
 
 - 
getIsCapublic Boolean getIsCa() Indicates if the certificate is ca.- Returns:
- the value
 
 - 
getSubjectKeyIdpublic String getSubjectKeyId() The Certificate subject key id.- Returns:
- the value
 
 - 
getLifecycleStatepublic CertificateLifecycleState getLifecycleState() Possible certificate lifecycle states.- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The time the resource was created.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-