Class ListJreUsageRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.ListJreUsageRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListJreUsageRequest,Void>
- Enclosing class:
- ListJreUsageRequest
public static class ListJreUsageRequest.Builder extends Object implements BmcRequest.Builder<ListJreUsageRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListJreUsageRequest.Builder
applicationId(String applicationId)
The Fleet-unique identifier of the application.ListJreUsageRequest.Builder
applicationName(String applicationName)
The name of the application.ListJreUsageRequest
build()
Build the instance of ListJreUsageRequest as configured by this builderListJreUsageRequest
buildWithoutInvocationCallback()
Build the instance of ListJreUsageRequest as configured by this builderListJreUsageRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.ListJreUsageRequest.Builder
copy(ListJreUsageRequest o)
Copy method to populate the builder with values from the given instance.ListJreUsageRequest.Builder
hostId(String hostId)
The host OCID of the managed instance.ListJreUsageRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListJreUsageRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListJreUsageRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListJreUsageRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListJreUsageRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListJreUsageRequest.Builder
sortBy(JreSortBy sortBy)
The field to sort JRE usages.ListJreUsageRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.ListJreUsageRequest.Builder
timeEnd(Date timeEnd)
The end of the time period during which resources are searched (formatted according to RFC3339).ListJreUsageRequest.Builder
timeStart(Date timeStart)
The start of the time period during which resources are searched (formatted according to RFC3339).-
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
-
compartmentId
public ListJreUsageRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
hostId
public ListJreUsageRequest.Builder hostId(String hostId)
The host OCID of the managed instance.- Parameters:
hostId
- the value to set- Returns:
- this builder instance
-
applicationId
public ListJreUsageRequest.Builder applicationId(String applicationId)
The Fleet-unique identifier of the application.- Parameters:
applicationId
- the value to set- Returns:
- this builder instance
-
applicationName
public ListJreUsageRequest.Builder applicationName(String applicationName)
The name of the application.- Parameters:
applicationName
- the value to set- Returns:
- this builder instance
-
timeStart
public ListJreUsageRequest.Builder timeStart(Date timeStart)
The start of the time period during which resources are searched (formatted according to RFC3339).- Parameters:
timeStart
- the value to set- Returns:
- this builder instance
-
timeEnd
public ListJreUsageRequest.Builder timeEnd(Date timeEnd)
The end of the time period during which resources are searched (formatted according to RFC3339).- Parameters:
timeEnd
- the value to set- Returns:
- this builder instance
-
limit
public ListJreUsageRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListJreUsageRequest.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 ListJreUsageRequest.Builder sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListJreUsageRequest.Builder sortBy(JreSortBy sortBy)
The field to sort JRE usages.Only one sort order may be provided. Default order for timeFirstSeen, timeLastSeen, and version is descending. Default order for timeFirstSeen, timeLastSeen, version, approximateInstallationCount, approximateApplicationCount and approximateManagedInstanceCount is descending. Default order for distribution, vendor, and osName is ascending. If no value is specified timeLastSeen is default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListJreUsageRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListJreUsageRequest.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 ListJreUsageRequest.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 ListJreUsageRequest.Builder copy(ListJreUsageRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListJreUsageRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListJreUsageRequest build()
Build the instance of ListJreUsageRequest 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:
build
in interfaceBmcRequest.Builder<ListJreUsageRequest,Void>
- Returns:
- instance of ListJreUsageRequest
-
buildWithoutInvocationCallback
public ListJreUsageRequest buildWithoutInvocationCallback()
Build the instance of ListJreUsageRequest 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 ListJreUsageRequest
-
-