Interface PutTargetsResultEntry.Builder

  • Method Details

    • targetId

      The ID of the target.

      Parameters:
      targetId - The ID of the target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      PutTargetsResultEntry.Builder errorCode(String errorCode)

      The error code that indicates why the target addition failed. If the value is ConcurrentModificationException, too many requests were made at the same time.

      Parameters:
      errorCode - The error code that indicates why the target addition failed. If the value is ConcurrentModificationException, too many requests were made at the same time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      PutTargetsResultEntry.Builder errorMessage(String errorMessage)

      The error message that explains why the target addition failed.

      Parameters:
      errorMessage - The error message that explains why the target addition failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.