Interface ChannelModerator.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChannelModerator.Builder,
,ChannelModerator> SdkBuilder<ChannelModerator.Builder,
,ChannelModerator> SdkPojo
- Enclosing class:
ChannelModerator
public static interface ChannelModerator.Builder
extends SdkPojo, CopyableBuilder<ChannelModerator.Builder,ChannelModerator>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of the moderator's channel.default ChannelModerator.Builder
createdBy
(Consumer<Identity.Builder> createdBy) TheAppInstanceUser
who created the moderator.TheAppInstanceUser
who created the moderator.createdTimestamp
(Instant createdTimestamp) The time at which the moderator was created.default ChannelModerator.Builder
moderator
(Consumer<Identity.Builder> moderator) The moderator's data.The moderator's data.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
-
moderator
The moderator's data.
- Parameters:
moderator
- The moderator's data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moderator
The moderator's data.
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 tomoderator(Identity)
.- Parameters:
moderator
- 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 moderator's channel.
- Parameters:
channelArn
- The ARN of the moderator's channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
The time at which the moderator was created.
- Parameters:
createdTimestamp
- The time at which the moderator was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The
AppInstanceUser
who created the moderator.- Parameters:
createdBy
- TheAppInstanceUser
who created the moderator.- 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 theAppInstanceUser
who created the moderator.Identity.Builder
avoiding the need to create one manually viaIdentity.builder()
.When the
Consumer
completes,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:
-