Interface BatchAddRoleResponse.Builder

  • Method Details

    • addedAccessorIds

      BatchAddRoleResponse.Builder addedAccessorIds(Collection<String> addedAccessorIds)

      An array of successfully updated accessor identifiers.

      Parameters:
      addedAccessorIds - An array of successfully updated accessor identifiers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addedAccessorIds

      BatchAddRoleResponse.Builder addedAccessorIds(String... addedAccessorIds)

      An array of successfully updated accessor identifiers.

      Parameters:
      addedAccessorIds - An array of successfully updated accessor identifiers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      An array of errors that occurred when roles were added.

      Parameters:
      errors - An array of errors that occurred when roles were added.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      An array of errors that occurred when roles were added.

      Parameters:
      errors - An array of errors that occurred when roles were added.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      An array of errors that occurred when roles were added.

      This is a convenience method that creates an instance of the BatchError.Builder avoiding the need to create one manually via BatchError.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errors(List<BatchError>).

      Parameters:
      errors - a consumer that will call methods on BatchError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: