Package com.oracle.bmc.jms.requests
Class ListLibraryManagedInstanceUsageRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.ListLibraryManagedInstanceUsageRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListLibraryManagedInstanceUsageRequest,Void>
- Enclosing class:
- ListLibraryManagedInstanceUsageRequest
public static class ListLibraryManagedInstanceUsageRequest.Builder extends Object implements BmcRequest.Builder<ListLibraryManagedInstanceUsageRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListLibraryManagedInstanceUsageRequest.Builder
applicationId(String applicationId)
The Fleet-unique identifier of the application.ListLibraryManagedInstanceUsageRequest
build()
Build the instance of ListLibraryManagedInstanceUsageRequest as configured by this builderListLibraryManagedInstanceUsageRequest
buildWithoutInvocationCallback()
Build the instance of ListLibraryManagedInstanceUsageRequest as configured by this builderListLibraryManagedInstanceUsageRequest.Builder
copy(ListLibraryManagedInstanceUsageRequest o)
Copy method to populate the builder with values from the given instance.ListLibraryManagedInstanceUsageRequest.Builder
fleetId(String fleetId)
The OCID of the Fleet.ListLibraryManagedInstanceUsageRequest.Builder
hostName(String hostName)
The host OCID of the managed instance.ListLibraryManagedInstanceUsageRequest.Builder
hostnameContains(String hostnameContains)
Filter the list with hostname contains the given value.ListLibraryManagedInstanceUsageRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListLibraryManagedInstanceUsageRequest.Builder
libraryKey(String libraryKey)
The unique identifier of a Java library.ListLibraryManagedInstanceUsageRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListLibraryManagedInstanceUsageRequest.Builder
managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the managed instance.ListLibraryManagedInstanceUsageRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListLibraryManagedInstanceUsageRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListLibraryManagedInstanceUsageRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListLibraryManagedInstanceUsageRequest.Builder
sortBy(LibraryManagedInstanceSortBy sortBy)
The field to sort library application usage summaries.ListLibraryManagedInstanceUsageRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.ListLibraryManagedInstanceUsageRequest.Builder
timeEnd(Date timeEnd)
The end of the time period during which resources are searched (formatted according to RFC3339).ListLibraryManagedInstanceUsageRequest.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
-
fleetId
public ListLibraryManagedInstanceUsageRequest.Builder fleetId(String fleetId)
The OCID of the Fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder instance
-
libraryKey
public ListLibraryManagedInstanceUsageRequest.Builder libraryKey(String libraryKey)
The unique identifier of a Java library.- Parameters:
libraryKey
- the value to set- Returns:
- this builder instance
-
applicationId
public ListLibraryManagedInstanceUsageRequest.Builder applicationId(String applicationId)
The Fleet-unique identifier of the application.- Parameters:
applicationId
- the value to set- Returns:
- this builder instance
-
managedInstanceId
public ListLibraryManagedInstanceUsageRequest.Builder managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the managed instance.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder instance
-
hostName
public ListLibraryManagedInstanceUsageRequest.Builder hostName(String hostName)
The host OCID of the managed instance.- Parameters:
hostName
- the value to set- Returns:
- this builder instance
-
hostnameContains
public ListLibraryManagedInstanceUsageRequest.Builder hostnameContains(String hostnameContains)
Filter the list with hostname contains the given value.- Parameters:
hostnameContains
- the value to set- Returns:
- this builder instance
-
timeStart
public ListLibraryManagedInstanceUsageRequest.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 ListLibraryManagedInstanceUsageRequest.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 ListLibraryManagedInstanceUsageRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListLibraryManagedInstanceUsageRequest.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
-
sortBy
public ListLibraryManagedInstanceUsageRequest.Builder sortBy(LibraryManagedInstanceSortBy sortBy)
The field to sort library application usage summaries.Only one sort order may be provided. If no value is specified lastSeenInClasspath is default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListLibraryManagedInstanceUsageRequest.Builder sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListLibraryManagedInstanceUsageRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListLibraryManagedInstanceUsageRequest.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 ListLibraryManagedInstanceUsageRequest.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 ListLibraryManagedInstanceUsageRequest.Builder copy(ListLibraryManagedInstanceUsageRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListLibraryManagedInstanceUsageRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListLibraryManagedInstanceUsageRequest build()
Build the instance of ListLibraryManagedInstanceUsageRequest 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<ListLibraryManagedInstanceUsageRequest,Void>
- Returns:
- instance of ListLibraryManagedInstanceUsageRequest
-
buildWithoutInvocationCallback
public ListLibraryManagedInstanceUsageRequest buildWithoutInvocationCallback()
Build the instance of ListLibraryManagedInstanceUsageRequest 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 ListLibraryManagedInstanceUsageRequest
-
-