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