Class SummarizeJreUsageRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.SummarizeJreUsageRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<SummarizeJreUsageRequest,Void>
- Enclosing class:
- SummarizeJreUsageRequest
public static class SummarizeJreUsageRequest.Builder extends Object implements BmcRequest.Builder<SummarizeJreUsageRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarizeJreUsageRequest.Builder
applicationId(String applicationId)
The Fleet-unique identifier of the related application.SummarizeJreUsageRequest
build()
Build the instance of SummarizeJreUsageRequest as configured by this builderSummarizeJreUsageRequest
buildWithoutInvocationCallback()
Build the instance of SummarizeJreUsageRequest as configured by this builderSummarizeJreUsageRequest.Builder
copy(SummarizeJreUsageRequest o)
Copy method to populate the builder with values from the given instance.SummarizeJreUsageRequest.Builder
fields(SummarizeJreUsageFields singularValue)
Singular setter.SummarizeJreUsageRequest.Builder
fields(List<SummarizeJreUsageFields> fields)
Additional fields to include into the returned model on top of the required ones.SummarizeJreUsageRequest.Builder
fleetId(String fleetId)
The OCID of the Fleet.SummarizeJreUsageRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.SummarizeJreUsageRequest.Builder
jreDistribution(String jreDistribution)
The distribution of the Java Runtime.SummarizeJreUsageRequest.Builder
jreId(String jreId)
The Fleet-unique identifier of the related Java Runtime.SummarizeJreUsageRequest.Builder
jreSecurityStatus(JreSecurityStatus jreSecurityStatus)
The security status of the Java Runtime.SummarizeJreUsageRequest.Builder
jreVendor(String jreVendor)
The vendor of the Java Runtime.SummarizeJreUsageRequest.Builder
jreVersion(String jreVersion)
The version of the Java Runtime.SummarizeJreUsageRequest.Builder
limit(Integer limit)
The maximum number of items to return.SummarizeJreUsageRequest.Builder
managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the related managed instance.SummarizeJreUsageRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.SummarizeJreUsageRequest.Builder
osFamily(OsFamily singularValue)
Singular setter.SummarizeJreUsageRequest.Builder
osFamily(List<OsFamily> osFamily)
The operating system type.SummarizeJreUsageRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.SummarizeJreUsageRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.SummarizeJreUsageRequest.Builder
sortBy(JreSortBy sortBy)
The field to sort JRE usages.SummarizeJreUsageRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.SummarizeJreUsageRequest.Builder
timeEnd(Date timeEnd)
The end of the time period during which resources are searched (formatted according to RFC3339).SummarizeJreUsageRequest.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 SummarizeJreUsageRequest.Builder fleetId(String fleetId)
The OCID of the Fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder instance
-
jreId
public SummarizeJreUsageRequest.Builder jreId(String jreId)
The Fleet-unique identifier of the related Java Runtime.- Parameters:
jreId
- the value to set- Returns:
- this builder instance
-
jreVendor
public SummarizeJreUsageRequest.Builder jreVendor(String jreVendor)
The vendor of the Java Runtime.- Parameters:
jreVendor
- the value to set- Returns:
- this builder instance
-
jreDistribution
public SummarizeJreUsageRequest.Builder jreDistribution(String jreDistribution)
The distribution of the Java Runtime.- Parameters:
jreDistribution
- the value to set- Returns:
- this builder instance
-
jreVersion
public SummarizeJreUsageRequest.Builder jreVersion(String jreVersion)
The version of the Java Runtime.- Parameters:
jreVersion
- the value to set- Returns:
- this builder instance
-
applicationId
public SummarizeJreUsageRequest.Builder applicationId(String applicationId)
The Fleet-unique identifier of the related application.- Parameters:
applicationId
- the value to set- Returns:
- this builder instance
-
managedInstanceId
public SummarizeJreUsageRequest.Builder managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the related managed instance.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder instance
-
fields
public SummarizeJreUsageRequest.Builder fields(List<SummarizeJreUsageFields> fields)
Additional fields to include into the returned model on top of the required ones.This parameter can also include ‘approximateApplicationCount’, ‘approximateInstallationCount’ and ‘approximateManagedInstanceCount’. For example ‘approximateApplicationCount,approximateManagedInstanceCount’.
- Parameters:
fields
- the value to set- Returns:
- this builder instance
-
fields
public SummarizeJreUsageRequest.Builder fields(SummarizeJreUsageFields singularValue)
Singular setter.Additional fields to include into the returned model on top of the required ones. This parameter can also include ‘approximateApplicationCount’, ‘approximateInstallationCount’ and ‘approximateManagedInstanceCount’. For example ‘approximateApplicationCount,approximateManagedInstanceCount’.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
timeStart
public SummarizeJreUsageRequest.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 SummarizeJreUsageRequest.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 SummarizeJreUsageRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public SummarizeJreUsageRequest.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 SummarizeJreUsageRequest.Builder sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public SummarizeJreUsageRequest.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 SummarizeJreUsageRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
osFamily
public SummarizeJreUsageRequest.Builder osFamily(List<OsFamily> osFamily)
The operating system type.- Parameters:
osFamily
- the value to set- Returns:
- this builder instance
-
osFamily
public SummarizeJreUsageRequest.Builder osFamily(OsFamily singularValue)
Singular setter.The operating system type.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
jreSecurityStatus
public SummarizeJreUsageRequest.Builder jreSecurityStatus(JreSecurityStatus jreSecurityStatus)
The security status of the Java Runtime.- Parameters:
jreSecurityStatus
- the value to set- Returns:
- this builder instance
-
invocationCallback
public SummarizeJreUsageRequest.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 SummarizeJreUsageRequest.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 SummarizeJreUsageRequest.Builder copy(SummarizeJreUsageRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<SummarizeJreUsageRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public SummarizeJreUsageRequest build()
Build the instance of SummarizeJreUsageRequest 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<SummarizeJreUsageRequest,Void>
- Returns:
- instance of SummarizeJreUsageRequest
-
buildWithoutInvocationCallback
public SummarizeJreUsageRequest buildWithoutInvocationCallback()
Build the instance of SummarizeJreUsageRequest 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 SummarizeJreUsageRequest
-
-