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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchCreateRoomMembershipResponse.Buildererrors(Collection<MemberError> 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.BatchCreateRoomMembershipResponse.Buildererrors(Consumer<MemberError.Builder>... 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.BatchCreateRoomMembershipResponse.Buildererrors(MemberError... 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.-
Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
errors
BatchCreateRoomMembershipResponse.Builder errors(Collection<MemberError> 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
BatchCreateRoomMembershipResponse.Builder errors(MemberError... 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
BatchCreateRoomMembershipResponse.Builder errors(Consumer<MemberError.Builder>... 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 theMemberError.Builderavoiding the need to create one manually viaMemberError.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 onMemberError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-