Interface CollectionErrorDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CollectionErrorDetail.Builder,CollectionErrorDetail>, SdkBuilder<CollectionErrorDetail.Builder,CollectionErrorDetail>, SdkPojo
Enclosing class:
CollectionErrorDetail

public static interface CollectionErrorDetail.Builder extends SdkPojo, CopyableBuilder<CollectionErrorDetail.Builder,CollectionErrorDetail>
  • Method Details

    • 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

      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

      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.