public static interface Channel.Builder extends SdkPojo, CopyableBuilder<Channel.Builder,Channel>
| Modifier and Type | Method and Description |
|---|---|
Channel.Builder |
arn(String arn)
The ARN of the channel.
|
Channel.Builder |
creationTime(Instant creationTime)
When the channel was created.
|
Channel.Builder |
lastUpdateTime(Instant lastUpdateTime)
When the channel was last updated.
|
Channel.Builder |
name(String name)
The name of the channel.
|
default Channel.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the channel.
|
Channel.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
|
Channel.Builder |
status(ChannelStatus status)
The status of the channel.
|
Channel.Builder |
status(String status)
The status of the channel.
|
copyapplyMutation, buildChannel.Builder name(String name)
The name of the channel.
name - The name of the channel.Channel.Builder arn(String arn)
The ARN of the channel.
arn - The ARN of the channel.Channel.Builder status(String status)
The status of the channel.
status - The status of the channel.ChannelStatus,
ChannelStatusChannel.Builder status(ChannelStatus status)
The status of the channel.
status - The status of the channel.ChannelStatus,
ChannelStatusChannel.Builder retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
retentionPeriod - How long, in days, message data is kept for the channel.default Channel.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the channel.
This is a convenience that creates an instance of theRetentionPeriod.Builder avoiding the need to
create one manually via RetentionPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retentionPeriod(RetentionPeriod).retentionPeriod - a consumer that will call methods on RetentionPeriod.BuilderretentionPeriod(RetentionPeriod)Channel.Builder creationTime(Instant creationTime)
When the channel was created.
creationTime - When the channel was created.Channel.Builder lastUpdateTime(Instant lastUpdateTime)
When the channel was last updated.
lastUpdateTime - When the channel was last updated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.