Class CatalogItem.Builder

  • Enclosing class:
    CatalogItem

    public static class CatalogItem.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

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

        public CatalogItem.Builder configSourceType​(CatalogItem.ConfigSourceType configSourceType)
        Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE.
        Parameters:
        configSourceType - the value to set
        Returns:
        this builder
      • shouldListPublicItems

        public CatalogItem.Builder shouldListPublicItems​(Boolean shouldListPublicItems)
        The indicator to append Public Items from the root compartment to any query, when set to TRUE.
        Parameters:
        shouldListPublicItems - the value to set
        Returns:
        this builder
      • description

        public CatalogItem.Builder description​(String description)
        Description about the catalog item.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • listingId

        public CatalogItem.Builder listingId​(String listingId)
        The catalog listing Id.
        Parameters:
        listingId - the value to set
        Returns:
        this builder
      • listingVersion

        public CatalogItem.Builder listingVersion​(String listingVersion)
        The catalog package version.
        Parameters:
        listingVersion - the value to set
        Returns:
        this builder
      • displayName

        public CatalogItem.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
      • versionDescription

        public CatalogItem.Builder versionDescription​(String versionDescription)
        Version description about the catalog item.
        Parameters:
        versionDescription - the value to set
        Returns:
        this builder
      • shortDescription

        public CatalogItem.Builder shortDescription​(String shortDescription)
        Short description about the catalog item.
        Parameters:
        shortDescription - the value to set
        Returns:
        this builder
      • packageType

        public CatalogItem.Builder packageType​(CatalogItem.PackageType packageType)
        Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE.
        Parameters:
        packageType - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public CatalogItem.Builder lifecycleDetails​(String lifecycleDetails)
        The details of lifecycle state CatalogItem.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public CatalogItem.Builder timeCreated​(Date timeCreated)
        The date and time the CatalogItem was created, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

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

        public CatalogItem.Builder timeUpdated​(Date timeUpdated)
        The date and time the CatalogItem was updated, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

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

        public CatalogItem.Builder timeReleased​(Date timeReleased)
        The date and time the CatalogItem was released, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeReleased - the value to set
        Returns:
        this builder
      • timeBackfillLastChecked

        public CatalogItem.Builder timeBackfillLastChecked​(Date timeBackfillLastChecked)
        The date and time the CatalogItem was last checked by backfill job, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeBackfillLastChecked - the value to set
        Returns:
        this builder
      • timeLastChecked

        public CatalogItem.Builder timeLastChecked​(Date timeLastChecked)
        The date and time the CatalogItem was last checked, in the format defined by RFC 3339.

        Example: 2016-08-25T21:10:29.600Z

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

        public CatalogItem.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 CatalogItem.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 CatalogItem.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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