Class Channel
- java.lang.Object
-
- software.amazon.awssdk.services.chime.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 the channel.IdentitycreatedBy()TheAppInstanceUserwho created the channel.InstantcreatedTimestamp()The time at which theAppInstanceUsercreated the channel.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<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 the channel.ChannelPrivacyprivacy()The channel's privacy setting.StringprivacyAsString()The channel's privacy setting.Map<String,SdkField<?>>sdkFieldNameToField()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 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 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.
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-