@Generated(value="software.amazon.awssdk:codegen") public final class Channel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Channel.Builder,Channel>
The details of a channel.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Channel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Channel.Builder |
builder() |
String |
channelArn()
The ARN of the channel.
|
Identity |
createdBy()
The
AppInstanceUser who created the channel. |
Instant |
createdTimestamp()
The time at which the
AppInstanceUser created 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 a member sent the last message in the channel.
|
Instant |
lastUpdatedTimestamp()
The time at which a channel was last updated.
|
String |
metadata()
The channel's metadata.
|
ChannelMode |
mode()
The mode of the channel.
|
String |
modeAsString()
The mode of the channel.
|
String |
name()
The name of the channel.
|
ChannelPrivacy |
privacy()
The channel's privacy setting.
|
String |
privacyAsString()
The channel's privacy setting.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Channel.Builder> |
serializableBuilderClass() |
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 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 channel's privacy setting.
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 channel's privacy setting.
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 channel's metadata.
public final Identity createdBy()
The AppInstanceUser who created the channel.
AppInstanceUser who created the channel.public final Instant createdTimestamp()
The time at which the AppInstanceUser created the channel.
AppInstanceUser created the channel.public final Instant lastMessageTimestamp()
The time at which a member sent the last message in the channel.
public final Instant lastUpdatedTimestamp()
The time at which a channel was last updated.
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 © 2022. All rights reserved.