Class CertificateAuthority.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • issuerCertificateAuthorityId

        public CertificateAuthority.Builder issuerCertificateAuthorityId​(String issuerCertificateAuthorityId)
        The OCID of the parent CA that issued this CA.

        If this is the root CA, then this value is null.

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

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

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

        public CertificateAuthority.Builder description​(String description)
        A brief description of the CA.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • externalKeyDescription

        public CertificateAuthority.Builder externalKeyDescription​(String externalKeyDescription)
        For externally managed CAs, a description of the externally managed key.

        Avoid entering confidential information.

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

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

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

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

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

        public CertificateAuthority.Builder kmsKeyId​(String kmsKeyId)
        The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
        Parameters:
        kmsKeyId - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public CertificateAuthority.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current CA lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • compartmentId

        public CertificateAuthority.Builder compartmentId​(String compartmentId)
        The OCID of the compartment under which the CA is created.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • certificateAuthorityRules

        public CertificateAuthority.Builder certificateAuthorityRules​(List<CertificateAuthorityRule> certificateAuthorityRules)
        An optional list of rules that control how the CA is used and managed.
        Parameters:
        certificateAuthorityRules - the value to set
        Returns:
        this builder
      • signingAlgorithm

        public CertificateAuthority.Builder signingAlgorithm​(SignatureAlgorithm signingAlgorithm)
        The algorithm used to sign public key certificates that the CA issues.
        Parameters:
        signingAlgorithm - the value to set
        Returns:
        this builder
      • freeformTags

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

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

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

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