Interface BatchCreateChannelMembershipResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<BatchCreateChannelMembershipResponse.Builder,,BatchCreateChannelMembershipResponse> SdkBuilder<BatchCreateChannelMembershipResponse.Builder,,BatchCreateChannelMembershipResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 BatchCreateChannelMembershipResponse
- 
Method Summary
Modifier and TypeMethodDescriptionbatchChannelMemberships(Consumer<BatchChannelMemberships.Builder> batchChannelMemberships) The list of channel memberships in the response.batchChannelMemberships(BatchChannelMemberships batchChannelMemberships) The list of channel memberships in the response.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(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.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.Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
batchChannelMemberships
BatchCreateChannelMembershipResponse.Builder batchChannelMemberships(BatchChannelMemberships batchChannelMemberships) The list of channel memberships in the response.
- Parameters:
 batchChannelMemberships- The list of channel memberships in the response.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
batchChannelMemberships
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.Builderavoiding the need to create one manually viaBatchChannelMemberships.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobatchChannelMemberships(BatchChannelMemberships).- Parameters:
 batchChannelMemberships- a consumer that will call methods onBatchChannelMemberships.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
errors
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.
- Parameters:
 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.- 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 memberships in the request, a list of the memberships is returned, along with error codes and error messages.
- Parameters:
 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.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
errors
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.Builderavoiding the need to create one manually viaBatchCreateChannelMembershipError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchCreateChannelMembershipError>).- Parameters:
 errors- a consumer that will call methods onBatchCreateChannelMembershipError.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -