Class CancelWorkRequestRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • workRequestId

        public CancelWorkRequestRequest.Builder workRequestId​(String workRequestId)
        The ID of the asynchronous request.
        Parameters:
        workRequestId - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public CancelWorkRequestRequest.Builder opcRequestId​(String opcRequestId)
        The client request ID for tracing.
        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • ifMatch

        public CancelWorkRequestRequest.Builder ifMatch​(String ifMatch)
        If-Match is most often used with state-changing methods (e.g., POST, PUT, DELETE) to prevent accidental overwrites when multiple user agentss might be acting in parallel on the same resource (i.e., to prevent the “lost update” problem).

        In general, it can be used with any method that involves the selection or modification of a representation to abort the request if the selected representation’s current entity tag is not a member within the If-Match field value. When specified on an action-specific subresource, the ETag value of the resource on which the action is requested should be provided.

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

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