public static class CertificateAuthorityVersion.Builder extends Object
Constructor and Description |
---|
Builder() |
public CertificateAuthorityVersion.Builder certificateAuthorityId(String certificateAuthorityId)
The OCID of the CA.
certificateAuthorityId
- the value to setpublic CertificateAuthorityVersion.Builder serialNumber(String serialNumber)
A unique certificate identifier used in certificate revocation tracking, formatted as
octets. Example: 03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF
serialNumber
- the value to setpublic CertificateAuthorityVersion.Builder timeCreated(Date timeCreated)
A optional property indicating when the CA version was created, expressed in RFC
3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
timeCreated
- the value to setpublic CertificateAuthorityVersion.Builder versionNumber(Long versionNumber)
The version number of this CA.
versionNumber
- the value to setpublic CertificateAuthorityVersion.Builder issuerCaVersionNumber(Long issuerCaVersionNumber)
The version number of the issuing CA.
issuerCaVersionNumber
- the value to setpublic CertificateAuthorityVersion.Builder versionName(String versionName)
The name of the CA version. When the value is not null, a name is unique across versions for a given CA.
versionName
- the value to setpublic CertificateAuthorityVersion.Builder subjectAlternativeNames(List<CertificateSubjectAlternativeName> subjectAlternativeNames)
A list of subject alternative names. A subject alternative name specifies the domain names, including subdomains, and IP addresses covered by the certificates issued by this CA.
subjectAlternativeNames
- the value to setpublic CertificateAuthorityVersion.Builder timeOfDeletion(Date timeOfDeletion)
An optional property indicating when to delete the CA version, expressed in RFC
3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
timeOfDeletion
- the value to setpublic CertificateAuthorityVersion.Builder validity(Validity validity)
public CertificateAuthorityVersion.Builder stages(List<VersionStage> stages)
A list of rotation states for this CA version.
stages
- the value to setpublic CertificateAuthorityVersion.Builder revocationStatus(RevocationStatus revocationStatus)
public CertificateAuthorityVersion build()
public CertificateAuthorityVersion.Builder copy(CertificateAuthorityVersion model)
Copyright © 2016–2024. All rights reserved.