@Generated(value="software.amazon.awssdk:codegen") public final class Channel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Channel.Builder,Channel>
A collection of data from an MQTT topic. Channels archive the raw, unprocessed messages before publishing the data to a pipeline.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Channel.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the channel.
|
static Channel.Builder |
builder() |
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()
When the channel was last updated.
|
String |
name()
The name of the channel.
|
RetentionPeriod |
retentionPeriod()
How long, in days, message data is kept for the channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Channel.Builder> |
serializableBuilderClass() |
ChannelStatus |
status()
The status of the channel.
|
String |
statusAsString()
The status of the channel.
|
ChannelStorage |
storage()
Where channel data is stored.
|
Channel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the channel.
public final ChannelStorage storage()
Where channel data is stored. You can choose one of serviceManagedS3 or
customerManagedS3 storage. If not specified, the default is serviceManagedS3. You can't
change this storage option after the channel is created.
serviceManagedS3 or
customerManagedS3 storage. If not specified, the default is serviceManagedS3.
You can't change this storage option after the channel is created.public final String arn()
The ARN of the channel.
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 RetentionPeriod retentionPeriod()
How long, in days, message data is kept for the channel.
public final Instant creationTime()
When the channel was created.
public final Instant lastUpdateTime()
When the channel was last 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 Channel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Channel.Builder,Channel>public static Channel.Builder builder()
public static Class<? extends Channel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.