Class ListJavaLicensesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jmsjavadownloads.requests.ListJavaLicensesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListJavaLicensesRequest,Void>
- Enclosing class:
- ListJavaLicensesRequest
public static class ListJavaLicensesRequest.Builder extends Object implements BmcRequest.Builder<ListJavaLicensesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListJavaLicensesRequestbuild()Build the instance of ListJavaLicensesRequest as configured by this builderListJavaLicensesRequestbuildWithoutInvocationCallback()Build the instance of ListJavaLicensesRequest as configured by this builderListJavaLicensesRequest.Buildercopy(ListJavaLicensesRequest o)Copy method to populate the builder with values from the given instance.ListJavaLicensesRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the display name.ListJavaLicensesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListJavaLicensesRequest.BuilderlicenseType(LicenseType licenseType)Unique Java license type.ListJavaLicensesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListJavaLicensesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListJavaLicensesRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListJavaLicensesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListJavaLicensesRequest.BuildersortBy(LicenseSortBy sortBy)The field to sort by.ListJavaLicensesRequest.BuildersortOrder(SortOrder sortOrder)The sort order, either ‘asc’ or ‘desc’.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
licenseType
public ListJavaLicensesRequest.Builder licenseType(LicenseType licenseType)
Unique Java license type.- Parameters:
licenseType- the value to set- Returns:
- this builder instance
-
displayName
public ListJavaLicensesRequest.Builder displayName(String displayName)
A filter to return only resources that match the display name.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
limit
public ListJavaLicensesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListJavaLicensesRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.The token is usually retrieved from a previous list call.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListJavaLicensesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListJavaLicensesRequest.Builder sortBy(LicenseSortBy sortBy)
The field to sort by.If no value is specified, licenseType is the default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListJavaLicensesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListJavaLicensesRequest.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 ListJavaLicensesRequest.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
-
copy
public ListJavaLicensesRequest.Builder copy(ListJavaLicensesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListJavaLicensesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListJavaLicensesRequest build()
Build the instance of ListJavaLicensesRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<ListJavaLicensesRequest,Void>- Returns:
- instance of ListJavaLicensesRequest
-
buildWithoutInvocationCallback
public ListJavaLicensesRequest buildWithoutInvocationCallback()
Build the instance of ListJavaLicensesRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ListJavaLicensesRequest
-
-