@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelMembership extends Object implements Serializable, Cloneable, StructuredPojo
The details of a channel member.
Constructor and Description |
---|
ChannelMembership() |
Modifier and Type | Method and Description |
---|---|
ChannelMembership |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the member's channel.
|
Date |
getCreatedTimestamp()
The time at which the channel membership was created.
|
Identity |
getInvitedBy()
The identifier of the member who invited another member.
|
Date |
getLastUpdatedTimestamp()
The time at which a channel membership was last updated.
|
Identity |
getMember()
The data of the channel member.
|
String |
getSubChannelId()
The ID of the SubChannel that a user belongs to.
|
String |
getType()
The membership type set for the channel member.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelArn(String channelArn)
The ARN of the member's channel.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The time at which the channel membership was created.
|
void |
setInvitedBy(Identity invitedBy)
The identifier of the member who invited another member.
|
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which a channel membership was last updated.
|
void |
setMember(Identity member)
The data of the channel member.
|
void |
setSubChannelId(String subChannelId)
The ID of the SubChannel that a user belongs to.
|
void |
setType(String type)
The membership type set for the channel member.
|
String |
toString()
Returns a string representation of this object.
|
ChannelMembership |
withChannelArn(String channelArn)
The ARN of the member's channel.
|
ChannelMembership |
withCreatedTimestamp(Date createdTimestamp)
The time at which the channel membership was created.
|
ChannelMembership |
withInvitedBy(Identity invitedBy)
The identifier of the member who invited another member.
|
ChannelMembership |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which a channel membership was last updated.
|
ChannelMembership |
withMember(Identity member)
The data of the channel member.
|
ChannelMembership |
withSubChannelId(String subChannelId)
The ID of the SubChannel that a user belongs to.
|
ChannelMembership |
withType(ChannelMembershipType type)
The membership type set for the channel member.
|
ChannelMembership |
withType(String type)
The membership type set for the channel member.
|
public void setInvitedBy(Identity invitedBy)
The identifier of the member who invited another member.
invitedBy
- The identifier of the member who invited another member.public Identity getInvitedBy()
The identifier of the member who invited another member.
public ChannelMembership withInvitedBy(Identity invitedBy)
The identifier of the member who invited another member.
invitedBy
- The identifier of the member who invited another member.public void setType(String type)
The membership type set for the channel member.
type
- The membership type set for the channel member.ChannelMembershipType
public String getType()
The membership type set for the channel member.
ChannelMembershipType
public ChannelMembership withType(String type)
The membership type set for the channel member.
type
- The membership type set for the channel member.ChannelMembershipType
public ChannelMembership withType(ChannelMembershipType type)
The membership type set for the channel member.
type
- The membership type set for the channel member.ChannelMembershipType
public void setMember(Identity member)
The data of the channel member.
member
- The data of the channel member.public Identity getMember()
The data of the channel member.
public ChannelMembership withMember(Identity member)
The data of the channel member.
member
- The data of the channel member.public void setChannelArn(String channelArn)
The ARN of the member's channel.
channelArn
- The ARN of the member's channel.public String getChannelArn()
The ARN of the member's channel.
public ChannelMembership withChannelArn(String channelArn)
The ARN of the member's channel.
channelArn
- The ARN of the member's channel.public void setCreatedTimestamp(Date createdTimestamp)
The time at which the channel membership was created.
createdTimestamp
- The time at which the channel membership was created.public Date getCreatedTimestamp()
The time at which the channel membership was created.
public ChannelMembership withCreatedTimestamp(Date createdTimestamp)
The time at which the channel membership was created.
createdTimestamp
- The time at which the channel membership was created.public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which a channel membership was last updated.
lastUpdatedTimestamp
- The time at which a channel membership was last updated.public Date getLastUpdatedTimestamp()
The time at which a channel membership was last updated.
public ChannelMembership withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which a channel membership was last updated.
lastUpdatedTimestamp
- The time at which a channel membership was last updated.public void setSubChannelId(String subChannelId)
The ID of the SubChannel that a user belongs to.
subChannelId
- The ID of the SubChannel that a user belongs to.public String getSubChannelId()
The ID of the SubChannel that a user belongs to.
public ChannelMembership withSubChannelId(String subChannelId)
The ID of the SubChannel that a user belongs to.
subChannelId
- The ID of the SubChannel that a user belongs to.public String toString()
toString
in class Object
Object.toString()
public ChannelMembership clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.