@Generated(value="software.amazon.awssdk:codegen") public final class ChannelSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelSummary.Builder,ChannelSummary>
A summary of information about a channel.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChannelSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChannelSummary.Builder |
builder() |
String |
channelName()
The name of the channel.
|
ChannelStorageSummary |
channelStorage()
Where channel data is stored.
|
Instant |
creationTime()
When the channel was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastMessageArrivalTime()
The last time when a new message arrived in the channel.
|
Instant |
lastUpdateTime()
The last time the channel was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChannelSummary.Builder> |
serializableBuilderClass() |
ChannelStatus |
status()
The status of the channel.
|
String |
statusAsString()
The status of the channel.
|
ChannelSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String channelName()
The name of the channel.
public final ChannelStorageSummary channelStorage()
Where channel data is stored.
public final ChannelStatus status()
The status of the channel.
If the service returns an enum value that is not available in the current SDK version, status will
return ChannelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ChannelStatuspublic final String statusAsString()
The status of the channel.
If the service returns an enum value that is not available in the current SDK version, status will
return ChannelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ChannelStatuspublic final Instant creationTime()
When the channel was created.
public final Instant lastUpdateTime()
The last time the channel was updated.
public final Instant lastMessageArrivalTime()
The last time when a new message arrived in the channel.
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.
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.
public ChannelSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChannelSummary.Builder,ChannelSummary>public static ChannelSummary.Builder builder()
public static Class<? extends ChannelSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.