@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
Channel.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the channel.
public String arn()
The ARN of the channel.
public 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()
.
ChannelStatus
public 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()
.
ChannelStatus
public RetentionPeriod retentionPeriod()
How long, in days, message data is kept for the channel.
public Instant creationTime()
When the channel was created.
public Instant lastUpdateTime()
When the channel was last updated.
public Channel.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Channel.Builder,Channel>
public static Channel.Builder builder()
public static Class<? extends Channel.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.