Interface CreateChannelMembershipResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<CreateChannelMembershipResponse.Builder,,CreateChannelMembershipResponse> SdkBuilder<CreateChannelMembershipResponse.Builder,,CreateChannelMembershipResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateChannelMembershipResponse
public static interface CreateChannelMembershipResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelMembershipResponse.Builder,CreateChannelMembershipResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of the channel.member(Consumer<Identity.Builder> member) The ARN and metadata of the member being added.The ARN and metadata of the member being added.subChannelId(String subChannelId) The ID of the SubChannel in the response.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
-
channelArn
The ARN of the channel.
- Parameters:
channelArn- The ARN of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
member
The ARN and metadata of the member being added.
- Parameters:
member- The ARN and metadata of the member being added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
member
The ARN and metadata of the member being added.
This is a convenience method that creates an instance of theIdentity.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomember(Identity).- Parameters:
member- a consumer that will call methods onIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subChannelId
The ID of the SubChannel in the response.
- Parameters:
subChannelId- The ID of the SubChannel in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-