Class ListInvoicesRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

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

        public ListInvoicesRequest.Builder arCustomerTransactionId​(String arCustomerTransactionId)
        AR Unique identifier for an invoice .
        Parameters:
        arCustomerTransactionId - the value to set
        Returns:
        this builder instance
      • timeFrom

        public ListInvoicesRequest.Builder timeFrom​(Date timeFrom)
        Initial date to filter Invoice data in SPM.
        Parameters:
        timeFrom - the value to set
        Returns:
        this builder instance
      • timeTo

        public ListInvoicesRequest.Builder timeTo​(Date timeTo)
        Final date to filter Invoice data in SPM.
        Parameters:
        timeTo - the value to set
        Returns:
        this builder instance
      • limit

        public ListInvoicesRequest.Builder limit​(Integer limit)
        The maximum number of items to return in a paginated “List” call.

        Default: (50)

        Example: '500'

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

        public ListInvoicesRequest.Builder page​(String page)
        The value of the ‘opc-next-page’ response header from the previous “List” call.
        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • fields

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