Class ChannelMembership
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmessaging.model.ChannelMembership
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChannelMembership.Builder,ChannelMembership>
@Generated("software.amazon.awssdk:codegen") public final class ChannelMembership extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelMembership.Builder,ChannelMembership>
The details of a channel member.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChannelMembership.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChannelMembership.Builderbuilder()StringchannelArn()The ARN of the member's channel.InstantcreatedTimestamp()The time at which the channel membership was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IdentityinvitedBy()The identifier of the member who invited another member.InstantlastUpdatedTimestamp()The time at which a channel membership was last updated.Identitymember()The data of the channel member.List<SdkField<?>>sdkFields()static Class<? extends ChannelMembership.Builder>serializableBuilderClass()StringsubChannelId()The ID of the SubChannel that a user belongs to.ChannelMembership.BuildertoBuilder()StringtoString()Returns a string representation of this object.ChannelMembershipTypetype()The membership type set for the channel member.StringtypeAsString()The membership type set for the channel member.-
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
-
invitedBy
public final Identity invitedBy()
The identifier of the member who invited another member.
- Returns:
- The identifier of the member who invited another member.
-
type
public final ChannelMembershipType type()
The membership type set for the channel member.
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 membership type set for the channel member.
- See Also:
ChannelMembershipType
-
typeAsString
public final String typeAsString()
The membership type set for the channel member.
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 membership type set for the channel member.
- See Also:
ChannelMembershipType
-
member
public final Identity member()
The data of the channel member.
- Returns:
- The data of the channel member.
-
channelArn
public final String channelArn()
The ARN of the member's channel.
- Returns:
- The ARN of the member's channel.
-
createdTimestamp
public final Instant createdTimestamp()
The time at which the channel membership was created.
- Returns:
- The time at which the channel membership was created.
-
lastUpdatedTimestamp
public final Instant lastUpdatedTimestamp()
The time at which a channel membership was last updated.
- Returns:
- The time at which a channel membership was last updated.
-
subChannelId
public final String subChannelId()
The ID of the SubChannel that a user belongs to.
- Returns:
- The ID of the SubChannel that a user belongs to.
-
toBuilder
public ChannelMembership.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChannelMembership.Builder,ChannelMembership>
-
builder
public static ChannelMembership.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChannelMembership.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.
-
-