@Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public final class Certificate extends Object
The details of the SSL certificate. Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Note: Objects should always be created or deserialized using the Certificate.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 Certificate.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 |
Certificate.Builder |
Constructor and Description |
---|
Certificate(String id,
String compartmentId,
String displayName,
String issuedBy,
Certificate_subjectName subjectName,
Certificate_subjectName issuerName,
String serialNumber,
Integer version,
String signatureAlgorithm,
Date timeNotValidBefore,
Date timeNotValidAfter,
Certificate_publicKeyInfo publicKeyInfo,
List<Certificate_extensions> extensions,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
LifecycleStates lifecycleState,
Date timeCreated)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Certificate.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the certificate’s compartment.
|
Map<String,Map<String,Object>> |
getDefinedTags()
A key-value pair with a defined schema that restricts the values of tags.
|
String |
getDisplayName()
The user-friendly name of the certificate.
|
List<Certificate_extensions> |
getExtensions() |
Map<String,String> |
getFreeformTags()
A simple key-value pair without any defined schema.
|
String |
getId()
The OCID of the certificate.
|
String |
getIssuedBy() |
Certificate_subjectName |
getIssuerName() |
LifecycleStates |
getLifecycleState()
The current lifecycle state of the SSL certificate.
|
Certificate_publicKeyInfo |
getPublicKeyInfo() |
String |
getSerialNumber() |
String |
getSignatureAlgorithm() |
Certificate_subjectName |
getSubjectName() |
Date |
getTimeCreated()
The date and time the certificate was created, expressed in RFC 3339 timestamp format.
|
Date |
getTimeNotValidAfter()
The date and time the certificate will expire, expressed in RFC 3339 timestamp format.
|
Date |
getTimeNotValidBefore() |
Integer |
getVersion() |
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","displayName","issuedBy","subjectName","issuerName","serialNumber","version","signatureAlgorithm","timeNotValidBefore","timeNotValidAfter","publicKeyInfo","extensions","freeformTags","definedTags","lifecycleState","timeCreated"}) @Deprecated public Certificate(String id, String compartmentId, String displayName, String issuedBy, Certificate_subjectName subjectName, Certificate_subjectName issuerName, String serialNumber, Integer version, String signatureAlgorithm, Date timeNotValidBefore, Date timeNotValidAfter, Certificate_publicKeyInfo publicKeyInfo, List<Certificate_extensions> extensions, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, LifecycleStates lifecycleState, Date timeCreated)
public static Certificate.Builder builder()
Create a new builder.
public String getDisplayName()
The user-friendly name of the certificate.
public String getIssuedBy()
public Certificate_subjectName getSubjectName()
public Certificate_subjectName getIssuerName()
public String getSerialNumber()
public Integer getVersion()
public String getSignatureAlgorithm()
public Date getTimeNotValidBefore()
public Date getTimeNotValidAfter()
The date and time the certificate will expire, expressed in RFC 3339 timestamp format.
public Certificate_publicKeyInfo getPublicKeyInfo()
public List<Certificate_extensions> getExtensions()
public Map<String,String> getFreeformTags()
A simple key-value pair without any defined schema.
public Map<String,Map<String,Object>> getDefinedTags()
A key-value pair with a defined schema that restricts the values of tags. These predefined keys are scoped to namespaces.
public LifecycleStates getLifecycleState()
The current lifecycle state of the SSL certificate.
public Date getTimeCreated()
The date and time the certificate was created, expressed in RFC 3339 timestamp format.
Copyright © 2016–2019. All rights reserved.