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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ChannelModerator.BuilderchannelArn(String channelArn)The ARN of the moderator's channel.default ChannelModerator.BuildercreatedBy(Consumer<Identity.Builder> createdBy)TheAppInstanceUserwho created the moderator.ChannelModerator.BuildercreatedBy(Identity createdBy)TheAppInstanceUserwho created the moderator.ChannelModerator.BuildercreatedTimestamp(Instant createdTimestamp)The time at which the moderator was created.default ChannelModerator.Buildermoderator(Consumer<Identity.Builder> moderator)The moderator's data.ChannelModerator.Buildermoderator(Identity moderator)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 Detail
-
moderator
ChannelModerator.Builder moderator(Identity 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
default ChannelModerator.Builder moderator(Consumer<Identity.Builder> 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:
moderator(Identity)
-
channelArn
ChannelModerator.Builder channelArn(String 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
ChannelModerator.Builder createdTimestamp(Instant 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
ChannelModerator.Builder createdBy(Identity 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
default ChannelModerator.Builder createdBy(Consumer<Identity.Builder> 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:
createdBy(Identity)
-
-