public static interface BatchCreateChannelMembershipResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateChannelMembershipResponse.Builder,BatchCreateChannelMembershipResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchCreateChannelMembershipResponse.Builder |
batchChannelMemberships(BatchChannelMemberships batchChannelMemberships)
The list of channel memberships in the response.
|
default BatchCreateChannelMembershipResponse.Builder |
batchChannelMemberships(Consumer<BatchChannelMemberships.Builder> batchChannelMemberships)
The list of channel memberships in the response.
|
BatchCreateChannelMembershipResponse.Builder |
errors(BatchCreateChannelMembershipError... errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned,
along with error codes and error messages.
|
BatchCreateChannelMembershipResponse.Builder |
errors(Collection<BatchCreateChannelMembershipError> errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned,
along with error codes and error messages.
|
BatchCreateChannelMembershipResponse.Builder |
errors(Consumer<BatchCreateChannelMembershipError.Builder>... errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned,
along with error codes and error messages.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchCreateChannelMembershipResponse.Builder batchChannelMemberships(BatchChannelMemberships batchChannelMemberships)
The list of channel memberships in the response.
batchChannelMemberships - The list of channel memberships in the response.default BatchCreateChannelMembershipResponse.Builder batchChannelMemberships(Consumer<BatchChannelMemberships.Builder> batchChannelMemberships)
The list of channel memberships in the response.
This is a convenience method that creates an instance of theBatchChannelMemberships.Builder avoiding
the need to create one manually via BatchChannelMemberships.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to batchChannelMemberships(BatchChannelMemberships).
batchChannelMemberships - a consumer that will call methods on BatchChannelMemberships.BuilderbatchChannelMemberships(BatchChannelMemberships)BatchCreateChannelMembershipResponse.Builder errors(Collection<BatchCreateChannelMembershipError> errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.
errors - If the action fails for one or more of the memberships in the request, a list of the memberships is
returned, along with error codes and error messages.BatchCreateChannelMembershipResponse.Builder errors(BatchCreateChannelMembershipError... errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.
errors - If the action fails for one or more of the memberships in the request, a list of the memberships is
returned, along with error codes and error messages.BatchCreateChannelMembershipResponse.Builder errors(Consumer<BatchCreateChannelMembershipError.Builder>... errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.
This is a convenience method that creates an instance of theBatchCreateChannelMembershipError.Builder
avoiding the need to create one manually via
BatchCreateChannelMembershipError.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #errors(List.
errors - a consumer that will call methods on
BatchCreateChannelMembershipError.Builder#errors(java.util.Collection) Copyright © 2023. All rights reserved.