public static class Certificate.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Certificate |
build() |
Certificate.Builder |
certificateData(String certificateData)
The data of the SSL certificate.
|
Certificate.Builder |
compartmentId(String compartmentId)
The OCID of the
certificate’s compartment.
|
Certificate.Builder |
copy(Certificate model) |
Certificate.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Certificate.Builder |
displayName(String displayName)
The user-friendly name of the certificate.
|
Certificate.Builder |
extensions(List<Certificate_extensions> extensions)
Additional attributes associated with users or public keys for managing relationships
between Certificate Authorities.
|
Certificate.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Certificate.Builder |
id(String id)
The OCID of the
certificate.
|
Certificate.Builder |
issuedBy(String issuedBy) |
Certificate.Builder |
issuerName(CertificateIssuerName issuerName) |
Certificate.Builder |
isTrustVerificationDisabled(Boolean isTrustVerificationDisabled)
This indicates whether trust verification was disabled during the creation of SSL
certificate.
|
Certificate.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the SSL certificate.
|
Certificate.Builder |
publicKeyInfo(Certificate_publicKeyInfo publicKeyInfo) |
Certificate.Builder |
serialNumber(String serialNumber)
A unique, positive integer assigned by the Certificate Authority (CA).
|
Certificate.Builder |
signatureAlgorithm(String signatureAlgorithm)
The identifier for the cryptographic algorithm used by the Certificate Authority (CA) to
sign this certificate.
|
Certificate.Builder |
subjectName(CertificateSubjectName subjectName) |
Certificate.Builder |
timeCreated(Date timeCreated)
The date and time the certificate was created, expressed in RFC 3339 timestamp format.
|
Certificate.Builder |
timeNotValidAfter(Date timeNotValidAfter)
The date and time the certificate will expire, expressed in RFC 3339 timestamp format.
|
Certificate.Builder |
timeNotValidBefore(Date timeNotValidBefore)
The date and time the certificate will become valid, expressed in RFC 3339 timestamp
format.
|
Certificate.Builder |
version(Integer version)
The version of the encoded certificate.
|
public Certificate.Builder id(String id)
The OCID of the certificate.
id
- the value to setpublic Certificate.Builder compartmentId(String compartmentId)
The OCID of the certificate’s compartment.
compartmentId
- the value to setpublic Certificate.Builder displayName(String displayName)
The user-friendly name of the certificate.
displayName
- the value to setpublic Certificate.Builder issuedBy(String issuedBy)
public Certificate.Builder subjectName(CertificateSubjectName subjectName)
public Certificate.Builder issuerName(CertificateIssuerName issuerName)
public Certificate.Builder serialNumber(String serialNumber)
A unique, positive integer assigned by the Certificate Authority (CA). The issuer name and serial number identify a unique certificate.
serialNumber
- the value to setpublic Certificate.Builder version(Integer version)
The version of the encoded certificate.
version
- the value to setpublic Certificate.Builder signatureAlgorithm(String signatureAlgorithm)
The identifier for the cryptographic algorithm used by the Certificate Authority (CA) to sign this certificate.
signatureAlgorithm
- the value to setpublic Certificate.Builder timeNotValidBefore(Date timeNotValidBefore)
The date and time the certificate will become valid, expressed in RFC 3339 timestamp format.
timeNotValidBefore
- the value to setpublic Certificate.Builder timeNotValidAfter(Date timeNotValidAfter)
The date and time the certificate will expire, expressed in RFC 3339 timestamp format.
timeNotValidAfter
- the value to setpublic Certificate.Builder publicKeyInfo(Certificate_publicKeyInfo publicKeyInfo)
public Certificate.Builder extensions(List<Certificate_extensions> extensions)
Additional attributes associated with users or public keys for managing relationships between Certificate Authorities.
extensions
- the value to setpublic Certificate.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic Certificate.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic Certificate.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the SSL certificate.
lifecycleState
- the value to setpublic Certificate.Builder timeCreated(Date timeCreated)
The date and time the certificate was created, expressed in RFC 3339 timestamp format.
timeCreated
- the value to setpublic Certificate.Builder isTrustVerificationDisabled(Boolean isTrustVerificationDisabled)
This indicates whether trust verification was disabled during the creation of SSL
certificate. If true
SSL certificate trust verification was disabled and this SSL
certificate is most likely self-signed.
isTrustVerificationDisabled
- the value to setpublic Certificate.Builder certificateData(String certificateData)
The data of the SSL certificate.
certificateData
- the value to setpublic Certificate build()
public Certificate.Builder copy(Certificate model)
Copyright © 2016–2024. All rights reserved.