public static class Certificate.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Certificate.Builder |
authorityKeyId(String authorityKeyId)
The Certificate authority key id.
|
Certificate |
build() |
Certificate.Builder |
certificateContent(String certificateContent)
The base64 encoded content of the PEM file containing the SSL certificate.
|
Certificate.Builder |
copy(Certificate model) |
Certificate.Builder |
deploymentId(String deploymentId)
The OCID of the
deployment being referenced.
|
Certificate.Builder |
isCa(Boolean isCa)
Indicates if the certificate is ca.
|
Certificate.Builder |
isSelfSigned(Boolean isSelfSigned)
Indicates if the certificate is self signed.
|
Certificate.Builder |
issuer(String issuer)
The Certificate issuer.
|
Certificate.Builder |
key(String key)
The identifier key (unique name in the scope of the deployment) of the certificate being
referenced.
|
Certificate.Builder |
lifecycleState(CertificateLifecycleState lifecycleState)
Possible certificate lifecycle states.
|
Certificate.Builder |
md5Hash(String md5Hash)
The Certificate md5Hash.
|
Certificate.Builder |
publicKey(String publicKey)
The Certificate public key.
|
Certificate.Builder |
publicKeyAlgorithm(String publicKeyAlgorithm)
The Certificate public key algorithm.
|
Certificate.Builder |
publicKeySize(Long publicKeySize)
The Certificate public key size.
|
Certificate.Builder |
serial(String serial)
The Certificate serial.
|
Certificate.Builder |
sha1Hash(String sha1Hash)
The Certificate sha1 hash.
|
Certificate.Builder |
subject(String subject)
The Certificate subject.
|
Certificate.Builder |
subjectKeyId(String subjectKeyId)
The Certificate subject key id.
|
Certificate.Builder |
timeCreated(Date timeCreated)
The time the resource was created.
|
Certificate.Builder |
timeValidFrom(Date timeValidFrom)
The time the certificate is valid from.
|
Certificate.Builder |
timeValidTo(Date timeValidTo)
The time the certificate is valid to.
|
Certificate.Builder |
version(String version)
The Certificate version.
|
public Certificate.Builder key(String key)
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.
key
- the value to setpublic Certificate.Builder deploymentId(String deploymentId)
The OCID of the deployment being referenced.
deploymentId
- the value to setpublic Certificate.Builder certificateContent(String certificateContent)
The base64 encoded content of the PEM file containing the SSL certificate.
certificateContent
- the value to setpublic Certificate.Builder issuer(String issuer)
The Certificate issuer.
issuer
- the value to setpublic Certificate.Builder isSelfSigned(Boolean isSelfSigned)
Indicates if the certificate is self signed.
isSelfSigned
- the value to setpublic Certificate.Builder md5Hash(String md5Hash)
The Certificate md5Hash.
md5Hash
- the value to setpublic Certificate.Builder publicKey(String publicKey)
The Certificate public key.
publicKey
- the value to setpublic Certificate.Builder publicKeyAlgorithm(String publicKeyAlgorithm)
The Certificate public key algorithm.
publicKeyAlgorithm
- the value to setpublic Certificate.Builder publicKeySize(Long publicKeySize)
The Certificate public key size.
publicKeySize
- the value to setpublic Certificate.Builder serial(String serial)
The Certificate serial.
serial
- the value to setpublic Certificate.Builder subject(String subject)
The Certificate subject.
subject
- the value to setpublic Certificate.Builder timeValidFrom(Date timeValidFrom)
The time the certificate is valid from. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeValidFrom
- the value to setpublic Certificate.Builder timeValidTo(Date timeValidTo)
The time the certificate is valid to. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeValidTo
- the value to setpublic Certificate.Builder version(String version)
The Certificate version.
version
- the value to setpublic Certificate.Builder sha1Hash(String sha1Hash)
The Certificate sha1 hash.
sha1Hash
- the value to setpublic Certificate.Builder authorityKeyId(String authorityKeyId)
The Certificate authority key id.
authorityKeyId
- the value to setpublic Certificate.Builder isCa(Boolean isCa)
Indicates if the certificate is ca.
isCa
- the value to setpublic Certificate.Builder subjectKeyId(String subjectKeyId)
The Certificate subject key id.
subjectKeyId
- the value to setpublic Certificate.Builder lifecycleState(CertificateLifecycleState lifecycleState)
Possible certificate lifecycle states.
lifecycleState
- the value to setpublic Certificate.Builder timeCreated(Date timeCreated)
The time the resource was created. The format is defined by
RFC3339, such as 2016-08-25T21:10:29.600Z
.
timeCreated
- the value to setpublic Certificate build()
public Certificate.Builder copy(Certificate model)
Copyright © 2016–2024. All rights reserved.