Class BdsApiKey.Builder

  • Enclosing class:
    BdsApiKey

    public static class BdsApiKey.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public BdsApiKey.Builder id​(String id)
        Identifier of the user’s API key.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • userId

        public BdsApiKey.Builder userId​(String userId)
        The user OCID for which this API key was created.
        Parameters:
        userId - the value to set
        Returns:
        this builder
      • keyAlias

        public BdsApiKey.Builder keyAlias​(String keyAlias)
        User friendly identifier used to uniquely differentiate between different API keys.

        Only ASCII alphanumeric characters with no spaces allowed.

        Parameters:
        keyAlias - the value to set
        Returns:
        this builder
      • defaultRegion

        public BdsApiKey.Builder defaultRegion​(String defaultRegion)
        The name of the region to establish the Object Storage endpoint.

        Example us-phoenix-1 .

        Parameters:
        defaultRegion - the value to set
        Returns:
        this builder
      • tenantId

        public BdsApiKey.Builder tenantId​(String tenantId)
        The OCID of your tenancy.
        Parameters:
        tenantId - the value to set
        Returns:
        this builder
      • fingerprint

        public BdsApiKey.Builder fingerprint​(String fingerprint)
        The fingerprint that corresponds to the public API key requested.
        Parameters:
        fingerprint - the value to set
        Returns:
        this builder
      • pemfilepath

        public BdsApiKey.Builder pemfilepath​(String pemfilepath)
        The full path and file name of the private key used for authentication.

        This location will be automatically selected on the BDS local file system.

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

        public BdsApiKey.Builder timeCreated​(Date timeCreated)
        The time the API key was created, shown as an RFC 3339 formatted datetime string.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • domainOcid

        public BdsApiKey.Builder domainOcid​(String domainOcid)
        Identity domain OCID ,where user is present.

        For default domain ,this field will be optional.

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