Class CertificateAuthority.Builder
- java.lang.Object
-
- com.oracle.bmc.certificatesmanagement.model.CertificateAuthority.Builder
-
- Enclosing class:
- CertificateAuthority
public static class CertificateAuthority.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateAuthoritybuild()CertificateAuthority.BuildercertificateAuthorityRules(List<CertificateAuthorityRule> certificateAuthorityRules)An optional list of rules that control how the CA is used and managed.CertificateAuthority.BuildercertificateRevocationListDetails(CertificateRevocationListDetails certificateRevocationListDetails)CertificateAuthority.BuildercompartmentId(String compartmentId)The OCID of the compartment under which the CA is created.CertificateAuthority.BuilderconfigType(CertificateAuthorityConfigType configType)The origin of the CA.CertificateAuthority.Buildercopy(CertificateAuthority model)CertificateAuthority.BuildercurrentVersion(CertificateAuthorityVersionSummary currentVersion)CertificateAuthority.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.CertificateAuthority.Builderdescription(String description)A brief description of the CA.CertificateAuthority.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CertificateAuthority.Builderid(String id)The OCID of the CA.CertificateAuthority.BuilderissuerCertificateAuthorityId(String issuerCertificateAuthorityId)The OCID of the parent CA that issued this CA.CertificateAuthority.BuilderkmsKeyId(String kmsKeyId)The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.CertificateAuthority.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current CA lifecycle state.CertificateAuthority.BuilderlifecycleState(CertificateAuthorityLifecycleState lifecycleState)The current lifecycle state of the certificate authority.CertificateAuthority.Buildername(String name)A user-friendly name for the CA.CertificateAuthority.BuildersigningAlgorithm(SignatureAlgorithm signingAlgorithm)The algorithm used to sign public key certificates that the CA issues.CertificateAuthority.Buildersubject(CertificateSubject subject)CertificateAuthority.BuildertimeCreated(Date timeCreated)A property indicating when the CA was created, expressed in RFC 3339 timestamp format.CertificateAuthority.BuildertimeOfDeletion(Date timeOfDeletion)An optional property indicating when to delete the CA version, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public CertificateAuthority.Builder id(String id)
The OCID of the CA.- Parameters:
id- the value to set- Returns:
- this builder
-
issuerCertificateAuthorityId
public 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.
- Parameters:
issuerCertificateAuthorityId- the value to set- Returns:
- this builder
-
name
public 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.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public CertificateAuthority.Builder description(String description)
A brief description of the CA.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeOfDeletion
public 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
- Parameters:
timeOfDeletion- the value to set- Returns:
- this builder
-
kmsKeyId
public CertificateAuthority.Builder kmsKeyId(String kmsKeyId)
The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.- Parameters:
kmsKeyId- the value to set- Returns:
- this builder
-
lifecycleState
public CertificateAuthority.Builder lifecycleState(CertificateAuthorityLifecycleState lifecycleState)
The current lifecycle state of the certificate authority.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public CertificateAuthority.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current CA lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
compartmentId
public CertificateAuthority.Builder compartmentId(String compartmentId)
The OCID of the compartment under which the CA is created.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
certificateAuthorityRules
public CertificateAuthority.Builder certificateAuthorityRules(List<CertificateAuthorityRule> certificateAuthorityRules)
An optional list of rules that control how the CA is used and managed.- Parameters:
certificateAuthorityRules- the value to set- Returns:
- this builder
-
currentVersion
public CertificateAuthority.Builder currentVersion(CertificateAuthorityVersionSummary currentVersion)
-
certificateRevocationListDetails
public CertificateAuthority.Builder certificateRevocationListDetails(CertificateRevocationListDetails certificateRevocationListDetails)
-
configType
public CertificateAuthority.Builder configType(CertificateAuthorityConfigType configType)
The origin of the CA.- Parameters:
configType- the value to set- Returns:
- this builder
-
subject
public CertificateAuthority.Builder subject(CertificateSubject subject)
-
signingAlgorithm
public CertificateAuthority.Builder signingAlgorithm(SignatureAlgorithm signingAlgorithm)
The algorithm used to sign public key certificates that the CA issues.- Parameters:
signingAlgorithm- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CertificateAuthority build()
-
copy
public CertificateAuthority.Builder copy(CertificateAuthority model)
-
-