Class Certificate.Builder
- java.lang.Object
- 
- com.oracle.bmc.certificatesmanagement.model.Certificate.Builder
 
- 
- Enclosing class:
- Certificate
 
 public static class Certificate.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Certificatebuild()Certificate.BuildercertificateProfileType(CertificateProfileType certificateProfileType)The name of the profile used to create the certificate, which depends on the type of certificate you need.Certificate.BuildercertificateRevocationListDetails(CertificateRevocationListDetails certificateRevocationListDetails)Certificate.BuildercertificateRules(List<CertificateRule> certificateRules)A list of rules that control how the certificate is used and managed.Certificate.BuildercompartmentId(String compartmentId)The OCID of the compartment where you want to create the certificate.Certificate.BuilderconfigType(CertificateConfigType configType)The origin of the certificate.Certificate.Buildercopy(Certificate model)Certificate.BuildercurrentVersion(CertificateVersionSummary currentVersion)Certificate.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Certificate.Builderdescription(String description)A brief description of the certificate.Certificate.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Certificate.Builderid(String id)The OCID of the certificate.Certificate.BuilderissuerCertificateAuthorityId(String issuerCertificateAuthorityId)The OCID of the certificate authority (CA) that issued the certificate.Certificate.BuilderkeyAlgorithm(KeyAlgorithm keyAlgorithm)The algorithm used to create key pairs.Certificate.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state of the certificate.Certificate.BuilderlifecycleState(CertificateLifecycleState lifecycleState)The current lifecycle state of the certificate.Certificate.Buildername(String name)A user-friendly name for the certificate.Certificate.BuildersignatureAlgorithm(SignatureAlgorithm signatureAlgorithm)The algorithm used to sign the public key certificate.Certificate.Buildersubject(CertificateSubject subject)Certificate.BuildertimeCreated(Date timeCreated)A property indicating when the certificate was created, expressed in RFC 3339 timestamp format.Certificate.BuildertimeOfDeletion(Date timeOfDeletion)An optional property indicating when to delete the certificate version, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic Certificate.Builder id(String id) The OCID of the certificate.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
issuerCertificateAuthorityIdpublic Certificate.Builder issuerCertificateAuthorityId(String issuerCertificateAuthorityId) The OCID of the certificate authority (CA) that issued the certificate.- Parameters:
- issuerCertificateAuthorityId- the value to set
- Returns:
- this builder
 
 - 
namepublic Certificate.Builder name(String name) A user-friendly name for the certificate.Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Certificate.Builder description(String description) A brief description of the certificate.Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
certificateRulespublic Certificate.Builder certificateRules(List<CertificateRule> certificateRules) A list of rules that control how the certificate is used and managed.- Parameters:
- certificateRules- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Certificate.Builder timeCreated(Date timeCreated) A property indicating when the certificate 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 Certificate.Builder timeOfDeletion(Date timeOfDeletion) An optional property indicating when to delete the certificate version, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z - Parameters:
- timeOfDeletion- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Certificate.Builder lifecycleState(CertificateLifecycleState lifecycleState) The current lifecycle state of the certificate.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Certificate.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state of the certificate.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Certificate.Builder compartmentId(String compartmentId) The OCID of the compartment where you want to create the certificate.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
currentVersionpublic Certificate.Builder currentVersion(CertificateVersionSummary currentVersion) 
 - 
subjectpublic Certificate.Builder subject(CertificateSubject subject) 
 - 
certificateRevocationListDetailspublic Certificate.Builder certificateRevocationListDetails(CertificateRevocationListDetails certificateRevocationListDetails) 
 - 
configTypepublic Certificate.Builder configType(CertificateConfigType configType) The origin of the certificate.- Parameters:
- configType- the value to set
- Returns:
- this builder
 
 - 
keyAlgorithmpublic Certificate.Builder keyAlgorithm(KeyAlgorithm keyAlgorithm) The algorithm used to create key pairs.- Parameters:
- keyAlgorithm- the value to set
- Returns:
- this builder
 
 - 
signatureAlgorithmpublic Certificate.Builder signatureAlgorithm(SignatureAlgorithm signatureAlgorithm) The algorithm used to sign the public key certificate.- Parameters:
- signatureAlgorithm- the value to set
- Returns:
- this builder
 
 - 
certificateProfileTypepublic Certificate.Builder certificateProfileType(CertificateProfileType certificateProfileType) The name of the profile used to create the certificate, which depends on the type of certificate you need.- Parameters:
- certificateProfileType- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Certificate.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic Certificate.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Certificate build() 
 - 
copypublic Certificate.Builder copy(Certificate model) 
 
- 
 
-