Class ListingRevision.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public ListingRevision.Builder id​(String id)
        Unique OCID identifier for the listing revision in Marketplace Publisher.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • listingId

        public ListingRevision.Builder listingId​(String listingId)
        The unique identifier for the listing this revision belongs to.
        Parameters:
        listingId - the value to set
        Returns:
        this builder
      • compartmentId

        public ListingRevision.Builder compartmentId​(String compartmentId)
        The unique identifier for the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public ListingRevision.Builder displayName​(String displayName)
        The name for the listing revision.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • revisionNumber

        public ListingRevision.Builder revisionNumber​(String revisionNumber)
        The revision number for the listing revision.

        This is an internal attribute

        Parameters:
        revisionNumber - the value to set
        Returns:
        this builder
      • headline

        public ListingRevision.Builder headline​(String headline)
        Single line introduction for the listing revision.
        Parameters:
        headline - the value to set
        Returns:
        this builder
      • tagline

        public ListingRevision.Builder tagline​(String tagline)
        The tagline of the listing revision.
        Parameters:
        tagline - the value to set
        Returns:
        this builder
      • keywords

        public ListingRevision.Builder keywords​(String keywords)
        Keywords associated with the listing revision.
        Parameters:
        keywords - the value to set
        Returns:
        this builder
      • shortDescription

        public ListingRevision.Builder shortDescription​(String shortDescription)
        A short description for the listing revision.
        Parameters:
        shortDescription - the value to set
        Returns:
        this builder
      • usageInformation

        public ListingRevision.Builder usageInformation​(String usageInformation)
        Usage information for the listing revision.
        Parameters:
        usageInformation - the value to set
        Returns:
        this builder
      • longDescription

        public ListingRevision.Builder longDescription​(String longDescription)
        A long description for the listing revision.
        Parameters:
        longDescription - the value to set
        Returns:
        this builder
      • systemRequirements

        public ListingRevision.Builder systemRequirements​(String systemRequirements)
        System requirements for the listing revision.
        Parameters:
        systemRequirements - the value to set
        Returns:
        this builder
      • timeCreated

        public ListingRevision.Builder timeCreated​(Date timeCreated)
        The time the listing revision was created.

        An RFC3339 formatted datetime string.

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

        public ListingRevision.Builder timeUpdated​(Date timeUpdated)
        The time the listing revision was updated.

        An RFC3339 formatted datetime string.

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

        public ListingRevision.Builder categories​(List<String> categories)
        The categories for the listing revsion.
        Parameters:
        categories - the value to set
        Returns:
        this builder
      • markets

        public ListingRevision.Builder markets​(List<String> markets)
        The markets supported by the listing revision.
        Parameters:
        markets - the value to set
        Returns:
        this builder
      • supportedlanguages

        public ListingRevision.Builder supportedlanguages​(List<LanguageItem> supportedlanguages)
        Languages supported by the publisher for the listing revision.
        Parameters:
        supportedlanguages - the value to set
        Returns:
        this builder
      • supportContacts

        public ListingRevision.Builder supportContacts​(List<SupportContact> supportContacts)
        Contact information to use to get support from the publisher for the listing revision.
        Parameters:
        supportContacts - the value to set
        Returns:
        this builder
      • supportLinks

        public ListingRevision.Builder supportLinks​(List<NamedLink> supportLinks)
        Links to support resources for the listing revision.
        Parameters:
        supportLinks - the value to set
        Returns:
        this builder
      • statusNotes

        public ListingRevision.Builder statusNotes​(String statusNotes)
        Status notes for the listing revision.
        Parameters:
        statusNotes - the value to set
        Returns:
        this builder
      • packageType

        public ListingRevision.Builder packageType​(PackageType packageType)
        The listing’s package type.

        Populated from the listing.

        Parameters:
        packageType - the value to set
        Returns:
        this builder
      • allowedTenancies

        public ListingRevision.Builder allowedTenancies​(List<String> allowedTenancies)
        Allowed tenancies provided when a listing revision is published as private.
        Parameters:
        allowedTenancies - the value to set
        Returns:
        this builder
      • areInternalTenancyLaunchAllowed

        public ListingRevision.Builder areInternalTenancyLaunchAllowed​(Boolean areInternalTenancyLaunchAllowed)
        Identifies whether publisher allows internal tenancy launches for the listing revision.
        Parameters:
        areInternalTenancyLaunchAllowed - the value to set
        Returns:
        this builder
      • extendedMetadata

        public ListingRevision.Builder extendedMetadata​(Map<String,​String> extendedMetadata)
        Additional metadata key/value pairs for the listing revision summary.
        Parameters:
        extendedMetadata - the value to set
        Returns:
        this builder
      • freeformTags

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