Class ListCommitmentsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • subscribedServiceId

        public ListCommitmentsRequest.Builder subscribedServiceId​(String subscribedServiceId)
        This param is used to get the commitments for a particular subscribed service
        Parameters:
        subscribedServiceId - the value to set
        Returns:
        this builder instance
      • compartmentId

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

        public ListCommitmentsRequest.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 ListCommitmentsRequest.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
      • opcRequestId

        public ListCommitmentsRequest.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
      • xOneGatewaySubscriptionId

        public ListCommitmentsRequest.Builder xOneGatewaySubscriptionId​(String xOneGatewaySubscriptionId)
        This header is meant to be used only for internal purposes and will be ignored on any public request.

        The purpose of this header is to help on Gateway to API calls identification.

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

        public ListCommitmentsRequest.Builder xOneOriginRegion​(String xOneOriginRegion)
        The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g.

        ap-mumbai-1, us-phoenix-1 etc.

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

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