Interface BatchCreateChannelMembershipResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<BatchCreateChannelMembershipResponse.Builder,BatchCreateChannelMembershipResponse>,SdkBuilder<BatchCreateChannelMembershipResponse.Builder,BatchCreateChannelMembershipResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchCreateChannelMembershipResponse
public static interface BatchCreateChannelMembershipResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateChannelMembershipResponse.Builder,BatchCreateChannelMembershipResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchCreateChannelMembershipResponse.BuilderbatchChannelMemberships(Consumer<BatchChannelMemberships.Builder> batchChannelMemberships)The list of channel memberships in the response.BatchCreateChannelMembershipResponse.BuilderbatchChannelMemberships(BatchChannelMemberships batchChannelMemberships)The list of channel memberships in the response.BatchCreateChannelMembershipResponse.Buildererrors(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.Buildererrors(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.BatchCreateChannelMembershipResponse.Buildererrors(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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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:
batchChannelMemberships(BatchChannelMemberships)
-
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
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.
- 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 to#errors(List.) - 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:
#errors(java.util.Collection)
-
-