Interface ChannelMembership.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelMembership.Builder,,ChannelMembership> SdkBuilder<ChannelMembership.Builder,,ChannelMembership> SdkPojo
- Enclosing class:
ChannelMembership
public static interface ChannelMembership.Builder
extends SdkPojo, CopyableBuilder<ChannelMembership.Builder,ChannelMembership>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of the member's channel.createdTimestamp(Instant createdTimestamp) The time at which the channel membership was created.default ChannelMembership.BuilderinvitedBy(Consumer<Identity.Builder> invitedBy) The identifier of the member who invited another member.The identifier of the member who invited another member.lastUpdatedTimestamp(Instant lastUpdatedTimestamp) The time at which a channel membership was last updated.default ChannelMembership.Buildermember(Consumer<Identity.Builder> member) The data of the channel member.The data of the channel member.The membership type set for the channel member.type(ChannelMembershipType type) The membership type set for the channel member.Methods 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, 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.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:
-
type
The membership type set for the channel member.
- Parameters:
type- The membership type set for the channel member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The membership type set for the channel member.
- Parameters:
type- The membership type set for the channel member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
member
The data of the channel member.
- Parameters:
member- The data of the channel member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
member
The data of the channel 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 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:
-
channelArn
The ARN of the member's channel.
- Parameters:
channelArn- The ARN of the member's channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
The time at which the channel membership was created.
- Parameters:
createdTimestamp- The time at which the channel membership was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimestamp
The time at which a channel membership was last updated.
- Parameters:
lastUpdatedTimestamp- The time at which a channel membership was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-