@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 |
getType()
The membership type set for the channel member.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public ChannelMembership clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.