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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchChannelMemberships.BuilderchannelArn(String channelArn)The ARN of the channel to which you're adding members.default BatchChannelMemberships.BuilderinvitedBy(Consumer<Identity.Builder> invitedBy)The identifier of the member who invited another member.BatchChannelMemberships.BuilderinvitedBy(Identity invitedBy)The identifier of the member who invited another member.BatchChannelMemberships.Buildermembers(Collection<Identity> members)The users successfully added to the request.BatchChannelMemberships.Buildermembers(Consumer<Identity.Builder>... members)The users successfully added to the request.BatchChannelMemberships.Buildermembers(Identity... members)The users successfully added to the request.BatchChannelMemberships.BuildersubChannelId(String subChannelId)The ID of the SubChannel.BatchChannelMemberships.Buildertype(String type)The membership types set for the channel members.BatchChannelMemberships.Buildertype(ChannelMembershipType type)The membership types set for the channel members.-
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 Detail
-
invitedBy
BatchChannelMemberships.Builder invitedBy(Identity 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
default BatchChannelMemberships.Builder invitedBy(Consumer<Identity.Builder> invitedBy)
The identifier of the member who invited another member.
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 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:
invitedBy(Identity)
-
type
BatchChannelMemberships.Builder type(String type)
The membership types set for the channel members.
- Parameters:
type- The membership types set for the channel members.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelMembershipType,ChannelMembershipType
-
type
BatchChannelMemberships.Builder type(ChannelMembershipType type)
The membership types set for the channel members.
- Parameters:
type- The membership types set for the channel members.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelMembershipType,ChannelMembershipType
-
members
BatchChannelMemberships.Builder members(Collection<Identity> 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
BatchChannelMemberships.Builder members(Identity... 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
BatchChannelMemberships.Builder members(Consumer<Identity.Builder>... members)
The users successfully added to the request.
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 to#members(List.) - 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:
#members(java.util.Collection)
-
channelArn
BatchChannelMemberships.Builder channelArn(String channelArn)
The ARN of the channel to which you're adding members.
- Parameters:
channelArn- The ARN of the channel to which you're adding members.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subChannelId
BatchChannelMemberships.Builder subChannelId(String subChannelId)
The ID of the SubChannel.
- Parameters:
subChannelId- The ID of the SubChannel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-