@Generated(value="software.amazon.awssdk:codegen") public final class ChannelSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelSummary.Builder,ChannelSummary>
Summary of the details of a Channel.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChannelSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChannelSummary.Builder |
builder() |
String |
channelArn()
The ARN of the channel.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastMessageTimestamp()
The time at which the last message in a channel was sent.
|
String |
metadata()
The metadata of the channel.
|
ChannelMode |
mode()
The mode of the channel.
|
String |
modeAsString()
The mode of the channel.
|
String |
name()
The name of the channel.
|
ChannelPrivacy |
privacy()
The privacy setting of the channel.
|
String |
privacyAsString()
The privacy setting of the channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChannelSummary.Builder> |
serializableBuilderClass() |
ChannelSummary.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 String channelArn()
The ARN of the channel.
public final ChannelMode mode()
The mode of the channel.
If the service returns an enum value that is not available in the current SDK version, mode will return
ChannelMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
ChannelModepublic final String modeAsString()
The mode of the channel.
If the service returns an enum value that is not available in the current SDK version, mode will return
ChannelMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
ChannelModepublic final ChannelPrivacy privacy()
The privacy setting of the channel.
If the service returns an enum value that is not available in the current SDK version, privacy will
return ChannelPrivacy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
privacyAsString().
ChannelPrivacypublic final String privacyAsString()
The privacy setting of the channel.
If the service returns an enum value that is not available in the current SDK version, privacy will
return ChannelPrivacy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
privacyAsString().
ChannelPrivacypublic final String metadata()
The metadata of the channel.
public final Instant lastMessageTimestamp()
The time at which the last message in a channel was sent.
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 © 2022. All rights reserved.