Class CertificateSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • issuerCertificateAuthorityId

        public CertificateSummary.Builder issuerCertificateAuthorityId​(String issuerCertificateAuthorityId)
        The OCID of the certificate authority (CA) that issued the certificate.
        Parameters:
        issuerCertificateAuthorityId - the value to set
        Returns:
        this builder
      • name

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

        Parameters:
        name - the value to set
        Returns:
        this builder
      • description

        public CertificateSummary.Builder description​(String description)
        A brief description of the certificate.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeCreated

        public 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

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeOfDeletion

        public 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

        Parameters:
        timeOfDeletion - the value to set
        Returns:
        this builder
      • compartmentId

        public CertificateSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the certificate.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • certificateRules

        public CertificateSummary.Builder certificateRules​(List<CertificateRule> certificateRules)
        An optional list of rules that control how the certificate is used and managed.
        Parameters:
        certificateRules - the value to set
        Returns:
        this builder
      • keyAlgorithm

        public CertificateSummary.Builder keyAlgorithm​(KeyAlgorithm keyAlgorithm)
        The algorithm used to create key pairs.
        Parameters:
        keyAlgorithm - the value to set
        Returns:
        this builder
      • signatureAlgorithm

        public CertificateSummary.Builder signatureAlgorithm​(SignatureAlgorithm signatureAlgorithm)
        The algorithm used to sign the public key certificate.
        Parameters:
        signatureAlgorithm - the value to set
        Returns:
        this builder
      • certificateProfileType

        public CertificateSummary.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
      • freeformTags

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

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

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

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