Class AppInstanceUserMembershipSummary
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmessaging.model.AppInstanceUserMembershipSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AppInstanceUserMembershipSummary.Builder,AppInstanceUserMembershipSummary>
@Generated("software.amazon.awssdk:codegen") public final class AppInstanceUserMembershipSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppInstanceUserMembershipSummary.Builder,AppInstanceUserMembershipSummary>
Summary of the membership details of an
AppInstanceUser.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAppInstanceUserMembershipSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppInstanceUserMembershipSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantreadMarkerTimestamp()The time at which anAppInstanceUserlast marked a channel as read.List<SdkField<?>>sdkFields()static Class<? extends AppInstanceUserMembershipSummary.Builder>serializableBuilderClass()StringsubChannelId()The ID of the SubChannel that theAppInstanceUseris a member of.AppInstanceUserMembershipSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.ChannelMembershipTypetype()The type ofChannelMembership.StringtypeAsString()The type ofChannelMembership.-
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
-
type
public final ChannelMembershipType type()
The type of
ChannelMembership.If the service returns an enum value that is not available in the current SDK version,
typewill returnChannelMembershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of
ChannelMembership. - See Also:
ChannelMembershipType
-
typeAsString
public final String typeAsString()
The type of
ChannelMembership.If the service returns an enum value that is not available in the current SDK version,
typewill returnChannelMembershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of
ChannelMembership. - See Also:
ChannelMembershipType
-
readMarkerTimestamp
public final Instant readMarkerTimestamp()
The time at which an
AppInstanceUserlast marked a channel as read.- Returns:
- The time at which an
AppInstanceUserlast marked a channel as read.
-
subChannelId
public final String subChannelId()
The ID of the SubChannel that the
AppInstanceUseris a member of.- Returns:
- The ID of the SubChannel that the
AppInstanceUseris a member of.
-
toBuilder
public AppInstanceUserMembershipSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AppInstanceUserMembershipSummary.Builder,AppInstanceUserMembershipSummary>
-
builder
public static AppInstanceUserMembershipSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends AppInstanceUserMembershipSummary.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.
-
-