Class CertificateAuthority.Builder
- java.lang.Object
- 
- com.oracle.bmc.certificatesmanagement.model.CertificateAuthority.Builder
 
- 
- Enclosing class:
- CertificateAuthority
 
 public static class CertificateAuthority.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic CertificateAuthority.Builder id(String id) The OCID of the CA.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
issuerCertificateAuthorityIdpublic 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
 
 - 
namepublic 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
 
 - 
descriptionpublic CertificateAuthority.Builder description(String description) A brief description of the CA.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeOfDeletionpublic 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
 
 - 
kmsKeyIdpublic 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
 
 - 
lifecycleStatepublic CertificateAuthority.Builder lifecycleState(CertificateAuthorityLifecycleState lifecycleState) The current lifecycle state of the certificate authority.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic CertificateAuthority.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current CA lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic 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
 
 - 
certificateAuthorityRulespublic 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
 
 - 
currentVersionpublic CertificateAuthority.Builder currentVersion(CertificateAuthorityVersionSummary currentVersion) 
 - 
certificateRevocationListDetailspublic CertificateAuthority.Builder certificateRevocationListDetails(CertificateRevocationListDetails certificateRevocationListDetails) 
 - 
configTypepublic CertificateAuthority.Builder configType(CertificateAuthorityConfigType configType) The origin of the CA.- Parameters:
- configType- the value to set
- Returns:
- this builder
 
 - 
subjectpublic CertificateAuthority.Builder subject(CertificateSubject subject) 
 - 
signingAlgorithmpublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic CertificateAuthority build() 
 - 
copypublic CertificateAuthority.Builder copy(CertificateAuthority model) 
 
- 
 
-