public static class CertificateAuthoritySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public CertificateAuthoritySummary.Builder id(String id)
The OCID of the certificate authority (CA).
id
- the value to setpublic CertificateAuthoritySummary.Builder issuerCertificateAuthorityId(String issuerCertificateAuthorityId)
The OCID of the parent CA which issued this CA. If this is the root CA, then this value
is the same as the id
.
issuerCertificateAuthorityId
- the value to setpublic CertificateAuthoritySummary.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 CertificateAuthoritySummary.Builder description(String description)
A brief description of the CA.
description
- the value to setpublic CertificateAuthoritySummary.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 CertificateAuthoritySummary.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 CertificateAuthoritySummary.Builder kmsKeyId(String kmsKeyId)
The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
kmsKeyId
- the value to setpublic CertificateAuthoritySummary.Builder lifecycleState(CertificateAuthorityLifecycleState lifecycleState)
The current lifecycle state of the CA.
lifecycleState
- the value to setpublic CertificateAuthoritySummary.Builder compartmentId(String compartmentId)
The OCID of the compartment under which the CA is created.
compartmentId
- the value to setpublic CertificateAuthoritySummary.Builder certificateAuthorityRules(List<CertificateAuthorityRule> certificateAuthorityRules)
An optional list of rules that control how the CA is used and managed.
certificateAuthorityRules
- the value to setpublic CertificateAuthoritySummary.Builder currentVersionSummary(CertificateAuthorityVersionSummary currentVersionSummary)
public CertificateAuthoritySummary.Builder subject(CertificateSubject subject)
public CertificateAuthoritySummary.Builder configType(CertificateAuthorityConfigType configType)
The origin of the CA.
configType
- the value to setpublic CertificateAuthoritySummary.Builder signingAlgorithm(SignatureAlgorithm signingAlgorithm)
The algorithm used to sign public key certificates that the CA issues.
signingAlgorithm
- the value to setpublic CertificateAuthoritySummary.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 CertificateAuthoritySummary.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 CertificateAuthoritySummary build()
public CertificateAuthoritySummary.Builder copy(CertificateAuthoritySummary model)
Copyright © 2016–2024. All rights reserved.