Interface CollectionErrorDetail.Builder

    • Method Detail

      • errorCode

        CollectionErrorDetail.Builder errorCode​(String errorCode)

        The error code for the request. For example, NOT_FOUND.

        Parameters:
        errorCode - The error code for the request. For example, NOT_FOUND.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        CollectionErrorDetail.Builder errorMessage​(String errorMessage)

        A description of the error. For example, The specified Collection is not found.

        Parameters:
        errorMessage - A description of the error. For example, The specified Collection is not found.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        CollectionErrorDetail.Builder id​(String id)

        If the request contains collection IDs, the response includes the IDs provided in the request.

        Parameters:
        id - If the request contains collection IDs, the response includes the IDs provided in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CollectionErrorDetail.Builder name​(String name)

        If the request contains collection names, the response includes the names provided in the request.

        Parameters:
        name - If the request contains collection names, the response includes the names provided in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.