Class GetCommitmentRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • commitmentId

        public GetCommitmentRequest.Builder commitmentId​(String commitmentId)
        The Commitment Id
        Parameters:
        commitmentId - the value to set
        Returns:
        this builder instance
      • opcRequestId

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