Interface BatchChannelMemberships.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchChannelMemberships.Builder,
,BatchChannelMemberships> SdkBuilder<BatchChannelMemberships.Builder,
,BatchChannelMemberships> SdkPojo
- Enclosing class:
BatchChannelMemberships
public static interface BatchChannelMemberships.Builder
extends SdkPojo, CopyableBuilder<BatchChannelMemberships.Builder,BatchChannelMemberships>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of the channel to which you're adding users.default BatchChannelMemberships.Builder
invitedBy
(Consumer<Identity.Builder> invitedBy) The identifier of the member who invited another member.The identifier of the member who invited another member.members
(Collection<Identity> members) The users successfully added to the request.members
(Consumer<Identity.Builder>... members) The users successfully added to the request.The users successfully added to the request.The membership types set for the channel users.type
(ChannelMembershipType type) The membership types set for the channel users.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
-
Method Details
-
invitedBy
The identifier of the member who invited another member.
- Parameters:
invitedBy
- The identifier of the member who invited another member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitedBy
The identifier of the member who invited another member.
This is a convenience method that creates an instance of theIdentity.Builder
avoiding the need to create one manually viaIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvitedBy(Identity)
.- Parameters:
invitedBy
- 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:
-
type
The membership types set for the channel users.
- Parameters:
type
- The membership types set for the channel users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The membership types set for the channel users.
- Parameters:
type
- The membership types set for the channel users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
members
The users successfully added to the request.
- Parameters:
members
- The users successfully added to the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
members
The users successfully added to the request.
- Parameters:
members
- The users successfully added to the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
members
The users successfully added to the request.
This is a convenience method that creates an instance of theIdentity.Builder
avoiding the need to create one manually viaIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomembers(List<Identity>)
.- Parameters:
members
- 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:
-
channelArn
The ARN of the channel to which you're adding users.
- Parameters:
channelArn
- The ARN of the channel to which you're adding users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-