public static class CreateCertificateDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateCertificateDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to create the SSL certificate.
compartmentId
- the value to setpublic CreateCertificateDetails.Builder displayName(String displayName)
A user-friendly name for the SSL certificate. The name can be changed and does not need to be unique.
displayName
- the value to setpublic CreateCertificateDetails.Builder certificateData(String certificateData)
The data of the SSL certificate.
**Note:** Many SSL certificate providers require an intermediate certificate chain to
ensure a trusted status. If your SSL certificate requires an intermediate certificate
chain, please append the intermediate certificate key in the certificateData
field after the leaf certificate issued by the SSL certificate provider. If you are
unsure if your certificate requires an intermediate certificate chain, see your
certificate provider's documentation.
The example below shows an intermediate certificate appended to a leaf certificate.
certificateData
- the value to setpublic CreateCertificateDetails.Builder privateKeyData(String privateKeyData)
The private key of the SSL certificate.
privateKeyData
- the value to setpublic CreateCertificateDetails.Builder isTrustVerificationDisabled(Boolean isTrustVerificationDisabled)
Set to true
if the SSL certificate is self-signed.
isTrustVerificationDisabled
- the value to setpublic CreateCertificateDetails.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 CreateCertificateDetails.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 CreateCertificateDetails build()
public CreateCertificateDetails.Builder copy(CreateCertificateDetails model)
Copyright © 2016–2024. All rights reserved.