public static class CertificateAuthority.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CertificateAuthority |
build() |
CertificateAuthority.Builder |
certificateAuthorityRules(List<CertificateAuthorityRule> certificateAuthorityRules)
An optional list of rules that control how the CA is used and managed.
|
CertificateAuthority.Builder |
certificateRevocationListDetails(CertificateRevocationListDetails certificateRevocationListDetails) |
CertificateAuthority.Builder |
compartmentId(String compartmentId)
The OCID of the compartment under which the CA is created.
|
CertificateAuthority.Builder |
configType(CertificateAuthorityConfigType configType)
The origin of the CA.
|
CertificateAuthority.Builder |
copy(CertificateAuthority model) |
CertificateAuthority.Builder |
currentVersion(CertificateAuthorityVersionSummary currentVersion) |
CertificateAuthority.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
CertificateAuthority.Builder |
description(String description)
A brief description of the CA.
|
CertificateAuthority.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CertificateAuthority.Builder |
id(String id)
The OCID of the CA.
|
CertificateAuthority.Builder |
issuerCertificateAuthorityId(String issuerCertificateAuthorityId)
The OCID of the parent CA that issued this CA.
|
CertificateAuthority.Builder |
kmsKeyId(String kmsKeyId)
The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
|
CertificateAuthority.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current CA lifecycle state.
|
CertificateAuthority.Builder |
lifecycleState(CertificateAuthorityLifecycleState lifecycleState)
The current lifecycle state of the certificate authority.
|
CertificateAuthority.Builder |
name(String name)
A user-friendly name for the CA.
|
CertificateAuthority.Builder |
signingAlgorithm(SignatureAlgorithm signingAlgorithm)
The algorithm used to sign public key certificates that the CA issues.
|
CertificateAuthority.Builder |
subject(CertificateSubject subject) |
CertificateAuthority.Builder |
timeCreated(Date timeCreated)
A property indicating when the CA was created, expressed in RFC
3339 timestamp format.
|
CertificateAuthority.Builder |
timeOfDeletion(Date timeOfDeletion)
An optional property indicating when to delete the CA version, expressed in RFC
3339 timestamp format.
|
public CertificateAuthority.Builder id(String id)
The OCID of the CA.
id
- the value to setpublic CertificateAuthority.Builder issuerCertificateAuthorityId(String issuerCertificateAuthorityId)
The OCID of the parent CA that issued this CA. If this is the root CA, then this value is null.
issuerCertificateAuthorityId
- the value to setpublic CertificateAuthority.Builder name(String name)
A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
name
- the value to setpublic CertificateAuthority.Builder description(String description)
A brief description of the CA.
description
- the value to setpublic CertificateAuthority.Builder timeCreated(Date timeCreated)
A property indicating when the CA was created, expressed in RFC
3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
timeCreated
- the value to setpublic CertificateAuthority.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 CertificateAuthority.Builder kmsKeyId(String kmsKeyId)
The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
kmsKeyId
- the value to setpublic CertificateAuthority.Builder lifecycleState(CertificateAuthorityLifecycleState lifecycleState)
The current lifecycle state of the certificate authority.
lifecycleState
- the value to setpublic CertificateAuthority.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current CA lifecycle state.
lifecycleDetails
- the value to setpublic CertificateAuthority.Builder compartmentId(String compartmentId)
The OCID of the compartment under which the CA is created.
compartmentId
- the value to setpublic CertificateAuthority.Builder certificateAuthorityRules(List<CertificateAuthorityRule> certificateAuthorityRules)
An optional list of rules that control how the CA is used and managed.
certificateAuthorityRules
- the value to setpublic CertificateAuthority.Builder currentVersion(CertificateAuthorityVersionSummary currentVersion)
public CertificateAuthority.Builder certificateRevocationListDetails(CertificateRevocationListDetails certificateRevocationListDetails)
public CertificateAuthority.Builder configType(CertificateAuthorityConfigType configType)
The origin of the CA.
configType
- the value to setpublic CertificateAuthority.Builder subject(CertificateSubject subject)
public CertificateAuthority.Builder signingAlgorithm(SignatureAlgorithm signingAlgorithm)
The algorithm used to sign public key certificates that the CA issues.
signingAlgorithm
- the value to setpublic CertificateAuthority.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic CertificateAuthority.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic CertificateAuthority build()
public CertificateAuthority.Builder copy(CertificateAuthority model)
Copyright © 2016–2024. All rights reserved.