public static class ListListingsRequest.Builder extends Object implements BmcRequest.Builder<ListListingsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListListingsRequest |
build()
Build the instance of ListListingsRequest as configured by this builder
|
ListListingsRequest |
buildWithoutInvocationCallback()
Build the instance of ListListingsRequest as configured by this builder
|
ListListingsRequest.Builder |
category(List<String> category)
Name of the product category or categories.
|
ListListingsRequest.Builder |
category(String singularValue)
Singular setter.
|
ListListingsRequest.Builder |
compartmentId(String compartmentId)
The unique identifier for the compartment.
|
ListListingsRequest.Builder |
copy(ListListingsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListListingsRequest.Builder |
imageId(String imageId)
The image identifier of the listing.
|
ListListingsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListListingsRequest.Builder |
isFeatured(Boolean isFeatured)
Indicates whether to show only featured listings.
|
ListListingsRequest.Builder |
limit(Integer limit)
How many records to return.
|
ListListingsRequest.Builder |
listingId(String listingId)
The unique identifier for the listing.
|
ListListingsRequest.Builder |
listingTypes(List<ListingType> listingTypes)
The type of the listing.
|
ListListingsRequest.Builder |
listingTypes(ListingType singularValue)
Singular setter.
|
ListListingsRequest.Builder |
name(List<String> name)
The name of the listing.
|
ListListingsRequest.Builder |
name(String singularValue)
Singular setter.
|
ListListingsRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListListingsRequest.Builder |
operatingSystems(List<String> operatingSystems)
The operating system of the listing.
|
ListListingsRequest.Builder |
operatingSystems(String singularValue)
Singular setter.
|
ListListingsRequest.Builder |
packageType(String packageType)
A filter to return only packages that match the given package type exactly.
|
ListListingsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListListingsRequest.Builder |
pricing(List<PricingTypeEnum> pricing)
Name of the pricing type.
|
ListListingsRequest.Builder |
pricing(PricingTypeEnum singularValue)
Singular setter.
|
ListListingsRequest.Builder |
publisherId(String publisherId)
Limit results to just this publisher.
|
ListListingsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListListingsRequest.Builder |
sortBy(ListListingsRequest.SortBy sortBy)
The field to use to sort listed results.
|
ListListingsRequest.Builder |
sortOrder(ListListingsRequest.SortOrder sortOrder)
The sort order to use, either
ASC or DESC . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListListingsRequest.Builder name(List<String> name)
The name of the listing.
name
- the value to setpublic ListListingsRequest.Builder name(String singularValue)
Singular setter. The name of the listing.
singularValue
- the singular value to setpublic ListListingsRequest.Builder listingId(String listingId)
The unique identifier for the listing.
listingId
- the value to setpublic ListListingsRequest.Builder imageId(String imageId)
The image identifier of the listing.
imageId
- the value to setpublic ListListingsRequest.Builder publisherId(String publisherId)
Limit results to just this publisher.
publisherId
- the value to setpublic ListListingsRequest.Builder packageType(String packageType)
A filter to return only packages that match the given package type exactly.
packageType
- the value to setpublic 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.
opcRequestId
- the value to setpublic 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.
limit
- the value to setpublic ListListingsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
page
- the value to setpublic 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.
sortBy
- the value to setpublic ListListingsRequest.Builder sortOrder(ListListingsRequest.SortOrder sortOrder)
The sort order to use, either ASC
or DESC
.
sortOrder
- the value to setpublic 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.
category
- the value to setpublic 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.
singularValue
- the singular value to setpublic 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.
pricing
- the value to setpublic 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.
singularValue
- the singular value to setpublic 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.
isFeatured
- the value to setpublic ListListingsRequest.Builder listingTypes(List<ListingType> listingTypes)
The type of the listing.
listingTypes
- the value to setpublic ListListingsRequest.Builder listingTypes(ListingType singularValue)
Singular setter. The type of the listing.
singularValue
- the singular value to setpublic ListListingsRequest.Builder operatingSystems(List<String> operatingSystems)
The operating system of the listing.
operatingSystems
- the value to setpublic ListListingsRequest.Builder operatingSystems(String singularValue)
Singular setter. The operating system of the listing.
singularValue
- the singular value to setpublic ListListingsRequest.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.
compartmentId
- the value to setpublic ListListingsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListListingsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListListingsRequest.Builder copy(ListListingsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListListingsRequest,Void>
o
- other request from which to copy valuespublic ListListingsRequest build()
Build the instance of ListListingsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListListingsRequest,Void>
public ListListingsRequest buildWithoutInvocationCallback()
Build the instance of ListListingsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.