public static class ListPackagesRequest.Builder extends Object implements BmcRequest.Builder<ListPackagesRequest,Void>
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListPackagesRequest.Builder invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListPackagesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListPackagesRequest.Builder copy(ListPackagesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListPackagesRequest,Void>
public ListPackagesRequest build()
Build the instance of ListPackagesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account, while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListPackagesRequest,Void>
public ListPackagesRequest.Builder listingId(String listingId)
public ListPackagesRequest.Builder packageVersion(String packageVersion)
public ListPackagesRequest.Builder packageType(String packageType)
public ListPackagesRequest.Builder opcRequestId(String opcRequestId)
public ListPackagesRequest.Builder limit(Integer limit)
public ListPackagesRequest.Builder page(String page)
public ListPackagesRequest.Builder sortBy(ListPackagesRequest.SortBy sortBy)
public ListPackagesRequest.Builder sortOrder(ListPackagesRequest.SortOrder sortOrder)
public ListPackagesRequest.Builder compartmentId(String compartmentId)
public ListPackagesRequest buildWithoutInvocationCallback()
Copyright © 2016–2020. All rights reserved.