Class ChannelSummary
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmessaging.model.ChannelSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChannelSummary.Builder,ChannelSummary>
@Generated("software.amazon.awssdk:codegen") public final class ChannelSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelSummary.Builder,ChannelSummary>
Summary of the details of a
Channel.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChannelSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChannelSummary.Builderbuilder()StringchannelArn()The ARN of the channel.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastMessageTimestamp()The time at which the last persistent message visible to the caller in a channel was sent.Stringmetadata()The metadata of the channel.ChannelModemode()The mode of the channel.StringmodeAsString()The mode of the channel.Stringname()The name of the channel.ChannelPrivacyprivacy()The privacy setting of the channel.StringprivacyAsString()The privacy setting of the channel.List<SdkField<?>>sdkFields()static Class<? extends ChannelSummary.Builder>serializableBuilderClass()ChannelSummary.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 the channel.
- Returns:
- The name of the channel.
-
channelArn
public final String channelArn()
The ARN of the channel.
- Returns:
- The ARN of the 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 privacy setting of the channel.
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 privacy setting of the channel.
- See Also:
ChannelPrivacy
-
privacyAsString
public 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,
privacywill returnChannelPrivacy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprivacyAsString().- Returns:
- The privacy setting of the channel.
- See Also:
ChannelPrivacy
-
metadata
public final String metadata()
The metadata of the channel.
- Returns:
- The metadata of the channel.
-
lastMessageTimestamp
public final Instant lastMessageTimestamp()
The time at which the last persistent message visible to the caller in a channel was sent.
- Returns:
- The time at which the last persistent message visible to the caller in a channel was sent.
-
toBuilder
public ChannelSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChannelSummary.Builder,ChannelSummary>
-
builder
public static ChannelSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChannelSummary.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.
-
-