Class CreateCertificateDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public CreateCertificateDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment in which to create the SSL certificate.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public 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.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • certificateData

        public 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.

        Parameters:
        certificateData - the value to set
        Returns:
        this builder
      • privateKeyData

        public CreateCertificateDetails.Builder privateKeyData​(String privateKeyData)
        The private key of the SSL certificate.
        Parameters:
        privateKeyData - the value to set
        Returns:
        this builder
      • isTrustVerificationDisabled

        public CreateCertificateDetails.Builder isTrustVerificationDisabled​(Boolean isTrustVerificationDisabled)
        Set to true if the SSL certificate is self-signed.
        Parameters:
        isTrustVerificationDisabled - the value to set
        Returns:
        this builder
      • freeformTags

        public 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"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public 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"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder