Class GetComputedUsageRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • computedUsageId

        public GetComputedUsageRequest.Builder computedUsageId​(String computedUsageId)
        The Computed Usage Id
        Parameters:
        computedUsageId - the value to set
        Returns:
        this builder instance
      • compartmentId

        public GetComputedUsageRequest.Builder compartmentId​(String compartmentId)
        The OCID of the root compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • fields

        public GetComputedUsageRequest.Builder fields​(List<String> fields)
        Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client.

        This parameter is used to control what fields to return.

        Parameters:
        fields - the value to set
        Returns:
        this builder instance
      • fields

        public GetComputedUsageRequest.Builder fields​(String singularValue)
        Singular setter.

        Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client. This parameter is used to control what fields to return.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • opcRequestId

        public GetComputedUsageRequest.Builder opcRequestId​(String opcRequestId)
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public GetComputedUsageRequest.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 GetComputedUsageRequest.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