Class ChannelMembership
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChannelMembership.Builder,ChannelMembership>
The details of a channel member.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelMembership.Builderbuilder()final StringThe ARN of the member's channel.final InstantThe time at which the channel membership was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IdentityThe identifier of the member who invited another member.final InstantThe time at which a channel membership was last updated.final Identitymember()The data of the channel member.static Class<? extends ChannelMembership.Builder> final StringThe ID of the SubChannel that a user belongs to.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final ChannelMembershipTypetype()The membership type set for the channel member.final StringThe membership type set for the channel member.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
invitedBy
The identifier of the member who invited another member.
- Returns:
- The identifier of the member who invited another member.
-
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:
-
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:
-
member
The data of the channel member.
- Returns:
- The data of the channel member.
-
channelArn
The ARN of the member's channel.
- Returns:
- The ARN of the member's channel.
-
createdTimestamp
The time at which the channel membership was created.
- Returns:
- The time at which the channel membership was created.
-
lastUpdatedTimestamp
The time at which a channel membership was last updated.
- Returns:
- The time at which a channel membership was last updated.
-
subChannelId
The ID of the SubChannel that a user belongs to.
- Returns:
- The ID of the SubChannel that a user belongs to.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ChannelMembership.Builder,ChannelMembership> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-