Class ListJreUsageRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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