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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ChannelMembership.BuilderchannelArn(String channelArn)The ARN of the member's channel.ChannelMembership.BuildercreatedTimestamp(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.ChannelMembership.BuilderinvitedBy(Identity invitedBy)The identifier of the member who invited another member.ChannelMembership.BuilderlastUpdatedTimestamp(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.ChannelMembership.Buildermember(Identity member)The data of the channel member.ChannelMembership.BuildersubChannelId(String subChannelId)The ID of the SubChannel that a user belongs to.ChannelMembership.Buildertype(String type)The membership type set for the channel member.ChannelMembership.Buildertype(ChannelMembershipType type)The membership type set for the channel member.-
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
ChannelMembership.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 ChannelMembership.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
ChannelMembership.Builder type(String 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:
ChannelMembershipType,ChannelMembershipType
-
type
ChannelMembership.Builder type(ChannelMembershipType 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:
ChannelMembershipType,ChannelMembershipType
-
member
ChannelMembership.Builder member(Identity 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
default ChannelMembership.Builder member(Consumer<Identity.Builder> 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:
member(Identity)
-
channelArn
ChannelMembership.Builder channelArn(String 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
ChannelMembership.Builder createdTimestamp(Instant 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
ChannelMembership.Builder lastUpdatedTimestamp(Instant 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.
-
subChannelId
ChannelMembership.Builder subChannelId(String subChannelId)
The ID of the SubChannel that a user belongs to.
- Parameters:
subChannelId- The ID of the SubChannel that a user belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-