public static interface ChannelSummary.Builder extends SdkPojo, CopyableBuilder<ChannelSummary.Builder,ChannelSummary>
Modifier and Type | Method and Description |
---|---|
ChannelSummary.Builder |
channelName(String channelName)
The name of the channel.
|
ChannelSummary.Builder |
channelStorage(ChannelStorageSummary channelStorage)
Where channel data is stored.
|
default ChannelSummary.Builder |
channelStorage(Consumer<ChannelStorageSummary.Builder> channelStorage)
Where channel data is stored.
|
ChannelSummary.Builder |
creationTime(Instant creationTime)
When the channel was created.
|
ChannelSummary.Builder |
lastMessageArrivalTime(Instant lastMessageArrivalTime)
The last time when a new message arrived in the channel.
|
ChannelSummary.Builder |
lastUpdateTime(Instant lastUpdateTime)
The last time the channel was updated.
|
ChannelSummary.Builder |
status(ChannelStatus status)
The status of the channel.
|
ChannelSummary.Builder |
status(String status)
The status of the channel.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ChannelSummary.Builder channelName(String channelName)
The name of the channel.
channelName
- The name of the channel.ChannelSummary.Builder channelStorage(ChannelStorageSummary channelStorage)
Where channel data is stored.
channelStorage
- Where channel data is stored.default ChannelSummary.Builder channelStorage(Consumer<ChannelStorageSummary.Builder> channelStorage)
Where channel data is stored.
This is a convenience that creates an instance of theChannelStorageSummary.Builder
avoiding the need
to create one manually via ChannelStorageSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to channelStorage(ChannelStorageSummary)
.channelStorage
- a consumer that will call methods on ChannelStorageSummary.Builder
channelStorage(ChannelStorageSummary)
ChannelSummary.Builder status(String status)
The status of the channel.
status
- The status of the channel.ChannelStatus
,
ChannelStatus
ChannelSummary.Builder status(ChannelStatus status)
The status of the channel.
status
- The status of the channel.ChannelStatus
,
ChannelStatus
ChannelSummary.Builder creationTime(Instant creationTime)
When the channel was created.
creationTime
- When the channel was created.ChannelSummary.Builder lastUpdateTime(Instant lastUpdateTime)
The last time the channel was updated.
lastUpdateTime
- The last time the channel was updated.ChannelSummary.Builder lastMessageArrivalTime(Instant lastMessageArrivalTime)
The last time when a new message arrived in the channel.
AWS IoT Analytics updates this value at most once per minute for one channel. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
lastMessageArrivalTime
- The last time when a new message arrived in the channel.
AWS IoT Analytics updates this value at most once per minute for one channel. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.