Interface SdkServiceException.Builder

    • Method Detail

      • requestId

        SdkServiceException.Builder requestId​(String requestId)
        Specifies the requestId returned by the called service.
        Parameters:
        requestId - A string that identifies the request made to a service.
        Returns:
        This object for method chaining.
      • requestId

        String requestId()
        The requestId returned by the called service.
        Returns:
        String containing the requestId
      • extendedRequestId

        SdkServiceException.Builder extendedRequestId​(String extendedRequestId)
        Specifies the extendedRequestId returned by the called service.
        Parameters:
        extendedRequestId - A string that identifies the request made to a service.
        Returns:
        This object for method chaining.
      • extendedRequestId

        String extendedRequestId()
        The extendedRequestId returned by the called service.
        Returns:
        String containing the extendedRequestId
      • statusCode

        SdkServiceException.Builder statusCode​(int statusCode)
        Specifies the status code returned by the service.
        Parameters:
        statusCode - an int containing the status code returned by the service.
        Returns:
        This method for object chaining.
      • statusCode

        int statusCode()
        The status code returned by the service.
        Returns:
        int containing the status code