Interface ChannelBan.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelBan.Builder,,ChannelBan> SdkBuilder<ChannelBan.Builder,,ChannelBan> SdkPojo
- Enclosing class:
ChannelBan
@Mutable
@NotThreadSafe
public static interface ChannelBan.Builder
extends SdkPojo, CopyableBuilder<ChannelBan.Builder,ChannelBan>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of the channel from which a member is being banned.default ChannelBan.BuildercreatedBy(Consumer<Identity.Builder> createdBy) TheAppInstanceUserwho created the ban.TheAppInstanceUserwho created the ban.createdTimestamp(Instant createdTimestamp) The time at which the ban was created.default ChannelBan.Buildermember(Consumer<Identity.Builder> member) The member being banned from the channel.The member being banned from the channel.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, sdkFieldNameToField, sdkFields
-
Method Details
-
member
The member being banned from the channel.
- Parameters:
member- The member being banned from the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
member
The member being banned from the channel.
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 channel from which a member is being banned.
- Parameters:
channelArn- The ARN of the channel from which a member is being banned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
The time at which the ban was created.
- Parameters:
createdTimestamp- The time at which the ban was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The
AppInstanceUserwho created the ban.- Parameters:
createdBy- TheAppInstanceUserwho created the ban.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The
This is a convenience method that creates an instance of theAppInstanceUserwho created the ban.Identity.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedBy(Identity).- Parameters:
createdBy- 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:
-