@Generated(value="software.amazon.awssdk:codegen") public final class ChannelMembership extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelMembership.Builder,ChannelMembership>
The details of a channel member.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChannelMembership.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChannelMembership.Builder |
builder() |
String |
channelArn()
The ARN of the member's channel.
|
Instant |
createdTimestamp()
The time at which the channel membership was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Identity |
invitedBy()
The identifier of the member who invited another member.
|
Instant |
lastUpdatedTimestamp()
The time at which a channel membership was last updated.
|
Identity |
member()
The data of the channel member.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChannelMembership.Builder> |
serializableBuilderClass() |
ChannelMembership.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ChannelMembershipType |
type()
The membership type set for the channel member.
|
String |
typeAsString()
The membership type set for the channel member.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Identity invitedBy()
The identifier of the member who invited another member.
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, type will return
ChannelMembershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ChannelMembershipTypepublic 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, type will return
ChannelMembershipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ChannelMembershipTypepublic final Identity member()
The data of the channel member.
public final String channelArn()
The ARN of the member's channel.
public final Instant createdTimestamp()
The time at which the channel membership was created.
public final Instant lastUpdatedTimestamp()
The time at which a channel membership was last updated.
public ChannelMembership.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChannelMembership.Builder,ChannelMembership>public static ChannelMembership.Builder builder()
public static Class<? extends ChannelMembership.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.