Interface ChannelModerator.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelModerator.Builder,,ChannelModerator> SdkBuilder<ChannelModerator.Builder,,ChannelModerator> SdkPojo
- Enclosing class:
ChannelModerator
@Mutable
@NotThreadSafe
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.BuildercreatedBy(Consumer<Identity.Builder> createdBy) TheAppInstanceUserwho created the moderator.TheAppInstanceUserwho created the moderator.createdTimestamp(Instant createdTimestamp) The time at which the moderator was created.default ChannelModerator.Buildermoderator(Consumer<Identity.Builder> moderator) The moderator's data.The moderator's data.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
-
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.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,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
AppInstanceUserwho created the moderator.- Parameters:
createdBy- TheAppInstanceUserwho 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 theAppInstanceUserwho created the moderator.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:
-