Class MediaAssetSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public MediaAssetSummary.Builder id​(String id)
        Unique identifier that is immutable on creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

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

        public MediaAssetSummary.Builder displayName​(String displayName)
        MediaAsset name.

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

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

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

        An RFC3339 formatted datetime string.

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

        public MediaAssetSummary.Builder lifecycleState​(LifecycleState lifecycleState)
        The current state of the MediaAsset.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeUpdated

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

        An RFC3339 formatted datetime string.

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

        public MediaAssetSummary.Builder masterMediaAssetId​(String masterMediaAssetId)
        The ID of the senior most asset from which this asset is derived.
        Parameters:
        masterMediaAssetId - the value to set
        Returns:
        this builder
      • parentMediaAssetId

        public MediaAssetSummary.Builder parentMediaAssetId​(String parentMediaAssetId)
        The ID of the parent asset from which this asset is derived.
        Parameters:
        parentMediaAssetId - the value to set
        Returns:
        this builder
      • freeformTags

        public MediaAssetSummary.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 MediaAssetSummary.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 MediaAssetSummary.Builder systemTags​(Map<String,​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