Class Channel
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmessaging.model.Channel
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Channel.Builder,Channel>
@Generated("software.amazon.awssdk:codegen") public final class Channel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Channel.Builder,Channel>
The details of a channel.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChannel.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Channel.Builderbuilder()StringchannelArn()The ARN of a channel.StringchannelFlowArn()The ARN of the channel flow.IdentitycreatedBy()TheAppInstanceUserwho created the channel.InstantcreatedTimestamp()The time at which theAppInstanceUsercreated the channel.ElasticChannelConfigurationelasticChannelConfiguration()The attributes required to configure and create an elastic channel.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExpirationSettingsexpirationSettings()Settings that control when a channel expires.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastMessageTimestamp()The time at which a member sent the last message in the channel.InstantlastUpdatedTimestamp()The time at which a channel was last updated.Stringmetadata()The channel's metadata.ChannelModemode()The mode of the channel.StringmodeAsString()The mode of the channel.Stringname()The name of a channel.ChannelPrivacyprivacy()The channel's privacy setting.StringprivacyAsString()The channel's privacy setting.List<SdkField<?>>sdkFields()static Class<? extends Channel.Builder>serializableBuilderClass()Channel.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of a channel.
- Returns:
- The name of a channel.
-
channelArn
public final String channelArn()
The ARN of a channel.
- Returns:
- The ARN of a channel.
-
mode
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,
modewill returnChannelMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The mode of the channel.
- See Also:
ChannelMode
-
modeAsString
public final String modeAsString()
The mode of the channel.
If the service returns an enum value that is not available in the current SDK version,
modewill returnChannelMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The mode of the channel.
- See Also:
ChannelMode
-
privacy
public final ChannelPrivacy privacy()
The channel's privacy setting.
If the service returns an enum value that is not available in the current SDK version,
privacywill returnChannelPrivacy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprivacyAsString().- Returns:
- The channel's privacy setting.
- See Also:
ChannelPrivacy
-
privacyAsString
public final String privacyAsString()
The channel's privacy setting.
If the service returns an enum value that is not available in the current SDK version,
privacywill returnChannelPrivacy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprivacyAsString().- Returns:
- The channel's privacy setting.
- See Also:
ChannelPrivacy
-
metadata
public final String metadata()
The channel's metadata.
- Returns:
- The channel's metadata.
-
createdBy
public final Identity createdBy()
The
AppInstanceUserwho created the channel.- Returns:
- The
AppInstanceUserwho created the channel.
-
createdTimestamp
public final Instant createdTimestamp()
The time at which the
AppInstanceUsercreated the channel.- Returns:
- The time at which the
AppInstanceUsercreated the channel.
-
lastMessageTimestamp
public final Instant lastMessageTimestamp()
The time at which a member sent the last message in the channel.
- Returns:
- The time at which a member sent the last message in the channel.
-
lastUpdatedTimestamp
public final Instant lastUpdatedTimestamp()
The time at which a channel was last updated.
- Returns:
- The time at which a channel was last updated.
-
channelFlowArn
public final String channelFlowArn()
The ARN of the channel flow.
- Returns:
- The ARN of the channel flow.
-
elasticChannelConfiguration
public final ElasticChannelConfiguration elasticChannelConfiguration()
The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
- Returns:
- The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
-
expirationSettings
public final ExpirationSettings expirationSettings()
Settings that control when a channel expires.
- Returns:
- Settings that control when a channel expires.
-
toBuilder
public Channel.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Channel.Builder,Channel>
-
builder
public static Channel.Builder builder()
-
serializableBuilderClass
public static Class<? extends Channel.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-