Interface BatchCreateRoomMembershipResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, ChimeResponse.Builder, CopyableBuilder<BatchCreateRoomMembershipResponse.Builder,BatchCreateRoomMembershipResponse>, SdkBuilder<BatchCreateRoomMembershipResponse.Builder,BatchCreateRoomMembershipResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
BatchCreateRoomMembershipResponse

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

    • errors

      If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.

      Parameters:
      errors - If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.

      Parameters:
      errors - If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.

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

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

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