Class DataAsset.Builder

  • Enclosing class:
    DataAsset

    public static class DataAsset.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public DataAsset.Builder id​(String id)
        The Unique Oracle ID (OCID) that is immutable on creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public DataAsset.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the DataAsset.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public DataAsset.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

        public DataAsset.Builder description​(String description)
        A short description of the data asset.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeCreated

        public DataAsset.Builder timeCreated​(Date timeCreated)
        The time the the DataAsset was created.

        An RFC3339 formatted datetime string

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

        public DataAsset.Builder timeUpdated​(Date timeUpdated)
        The time the the DataAsset was updated.

        An RFC3339 formatted datetime string

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleState

        public DataAsset.Builder lifecycleState​(DataAsset.LifecycleState lifecycleState)
        The lifecycle state of the Data Asset.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • projectId

        public DataAsset.Builder projectId​(String projectId)
        The Unique project id which is created at project creation that is immutable on creation.
        Parameters:
        projectId - the value to set
        Returns:
        this builder
      • privateEndpointId

        public DataAsset.Builder privateEndpointId​(String privateEndpointId)
        OCID of Private Endpoint.
        Parameters:
        privateEndpointId - the value to set
        Returns:
        this builder
      • freeformTags

        public DataAsset.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 DataAsset.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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

        public DataAsset.Builder systemTags​(Map<String,​Object> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }

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