Class ListListingsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public ListListingsRequest.Builder name​(String singularValue)
        Singular setter.

        The name of the listing.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • listingId

        public ListListingsRequest.Builder listingId​(String listingId)
        The unique identifier for the listing.
        Parameters:
        listingId - the value to set
        Returns:
        this builder instance
      • imageId

        public ListListingsRequest.Builder imageId​(String imageId)
        The image identifier of the listing.
        Parameters:
        imageId - the value to set
        Returns:
        this builder instance
      • publisherId

        public ListListingsRequest.Builder publisherId​(String publisherId)
        Limit results to just this publisher.
        Parameters:
        publisherId - the value to set
        Returns:
        this builder instance
      • packageType

        public ListListingsRequest.Builder packageType​(String packageType)
        A filter to return only packages that match the given package type exactly.
        Parameters:
        packageType - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListListingsRequest.Builder opcRequestId​(String opcRequestId)
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • limit

        public ListListingsRequest.Builder limit​(Integer limit)
        How many records to return.

        Specify a value greater than zero and less than or equal to 1000. The default is 30.

        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • page

        public ListListingsRequest.Builder page​(String page)
        The value of the opc-next-page response header from the previous “List” call.
        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • sortBy

        public ListListingsRequest.Builder sortBy​(ListListingsRequest.SortBy sortBy)
        The field to use to sort listed results.

        You can only specify one field to sort by. TIMERELEASED displays results in descending order by default. You can change your preference by specifying a different sort order.

        Parameters:
        sortBy - the value to set
        Returns:
        this builder instance
      • category

        public ListListingsRequest.Builder category​(List<String> category)
        Name of the product category or categories.

        If you specify multiple categories, then Marketplace returns any listing with one or more matching categories.

        Parameters:
        category - the value to set
        Returns:
        this builder instance
      • category

        public ListListingsRequest.Builder category​(String singularValue)
        Singular setter.

        Name of the product category or categories. If you specify multiple categories, then Marketplace returns any listing with one or more matching categories.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • pricing

        public ListListingsRequest.Builder pricing​(List<PricingTypeEnum> pricing)
        Name of the pricing type.

        If multiple pricing types are provided, then any listing with one or more matching pricing models will be returned.

        Parameters:
        pricing - the value to set
        Returns:
        this builder instance
      • pricing

        public ListListingsRequest.Builder pricing​(PricingTypeEnum singularValue)
        Singular setter.

        Name of the pricing type. If multiple pricing types are provided, then any listing with one or more matching pricing models will be returned.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • isFeatured

        public ListListingsRequest.Builder isFeatured​(Boolean isFeatured)
        Indicates whether to show only featured listings.

        If this is set to false or is omitted, then all listings will be returned.

        Parameters:
        isFeatured - the value to set
        Returns:
        this builder instance
      • listingTypes

        public ListListingsRequest.Builder listingTypes​(ListingType singularValue)
        Singular setter.

        The type of the listing.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • operatingSystems

        public ListListingsRequest.Builder operatingSystems​(List<String> operatingSystems)
        The operating system of the listing.
        Parameters:
        operatingSystems - the value to set
        Returns:
        this builder instance
      • operatingSystems

        public ListListingsRequest.Builder operatingSystems​(String singularValue)
        Singular setter.

        The operating system of the listing.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • compartmentId

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

        public ListListingsRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public ListListingsRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance