public static class CertificateSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CertificateSummary |
build() |
CertificateSummary.Builder |
certificateProfileType(CertificateProfileType certificateProfileType)
The name of the profile used to create the certificate, which depends on the type of
certificate you need.
|
CertificateSummary.Builder |
certificateRules(List<CertificateRule> certificateRules)
An optional list of rules that control how the certificate is used and managed.
|
CertificateSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the certificate.
|
CertificateSummary.Builder |
configType(CertificateConfigType configType)
The origin of the certificate.
|
CertificateSummary.Builder |
copy(CertificateSummary model) |
CertificateSummary.Builder |
currentVersionSummary(CertificateVersionSummary currentVersionSummary) |
CertificateSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CertificateSummary.Builder |
description(String description)
A brief description of the certificate.
|
CertificateSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CertificateSummary.Builder |
id(String id)
The OCID of the certificate.
|
CertificateSummary.Builder |
issuerCertificateAuthorityId(String issuerCertificateAuthorityId)
The OCID of the certificate authority (CA) that issued the certificate.
|
CertificateSummary.Builder |
keyAlgorithm(KeyAlgorithm keyAlgorithm)
The algorithm used to create key pairs.
|
CertificateSummary.Builder |
lifecycleState(CertificateLifecycleState lifecycleState)
The current lifecycle state of the certificate.
|
CertificateSummary.Builder |
name(String name)
A user-friendly name for the certificate.
|
CertificateSummary.Builder |
signatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
The algorithm used to sign the public key certificate.
|
CertificateSummary.Builder |
subject(CertificateSubject subject) |
CertificateSummary.Builder |
timeCreated(Date timeCreated)
A property indicating when the certificate was created, expressed in RFC
3339 timestamp format.
|
CertificateSummary.Builder |
timeOfDeletion(Date timeOfDeletion)
An optional property indicating when to delete the certificate version, expressed in RFC
3339 timestamp format.
|
public CertificateSummary.Builder id(String id)
The OCID of the certificate.
id
- the value to setpublic CertificateSummary.Builder issuerCertificateAuthorityId(String issuerCertificateAuthorityId)
The OCID of the certificate authority (CA) that issued the certificate.
issuerCertificateAuthorityId
- the value to setpublic CertificateSummary.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.
name
- the value to setpublic CertificateSummary.Builder description(String description)
A brief description of the certificate.
description
- the value to setpublic CertificateSummary.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
timeCreated
- the value to setpublic CertificateSummary.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
timeOfDeletion
- the value to setpublic CertificateSummary.Builder lifecycleState(CertificateLifecycleState lifecycleState)
The current lifecycle state of the certificate.
lifecycleState
- the value to setpublic CertificateSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the certificate.
compartmentId
- the value to setpublic CertificateSummary.Builder certificateRules(List<CertificateRule> certificateRules)
An optional list of rules that control how the certificate is used and managed.
certificateRules
- the value to setpublic CertificateSummary.Builder currentVersionSummary(CertificateVersionSummary currentVersionSummary)
public CertificateSummary.Builder subject(CertificateSubject subject)
public CertificateSummary.Builder configType(CertificateConfigType configType)
The origin of the certificate.
configType
- the value to setpublic CertificateSummary.Builder keyAlgorithm(KeyAlgorithm keyAlgorithm)
The algorithm used to create key pairs.
keyAlgorithm
- the value to setpublic CertificateSummary.Builder signatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
The algorithm used to sign the public key certificate.
signatureAlgorithm
- the value to setpublic CertificateSummary.Builder certificateProfileType(CertificateProfileType certificateProfileType)
The name of the profile used to create the certificate, which depends on the type of certificate you need.
certificateProfileType
- the value to setpublic CertificateSummary.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"}
freeformTags
- the value to setpublic CertificateSummary.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"}}
definedTags
- the value to setpublic CertificateSummary build()
public CertificateSummary.Builder copy(CertificateSummary model)
Copyright © 2016–2024. All rights reserved.