@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RoomMembership extends Object implements Serializable, Cloneable, StructuredPojo
The room membership details.
Constructor and Description |
---|
RoomMembership() |
Modifier and Type | Method and Description |
---|---|
RoomMembership |
clone() |
boolean |
equals(Object obj) |
String |
getInvitedBy()
The identifier of the user that invited the room member.
|
Member |
getMember()
The member details, such as email address, name, member ID, and member type.
|
String |
getRole()
The membership role.
|
String |
getRoomId()
The room ID.
|
Date |
getUpdatedTimestamp()
The room membership update timestamp, in ISO 8601 format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInvitedBy(String invitedBy)
The identifier of the user that invited the room member.
|
void |
setMember(Member member)
The member details, such as email address, name, member ID, and member type.
|
void |
setRole(String role)
The membership role.
|
void |
setRoomId(String roomId)
The room ID.
|
void |
setUpdatedTimestamp(Date updatedTimestamp)
The room membership update timestamp, in ISO 8601 format.
|
String |
toString()
Returns a string representation of this object.
|
RoomMembership |
withInvitedBy(String invitedBy)
The identifier of the user that invited the room member.
|
RoomMembership |
withMember(Member member)
The member details, such as email address, name, member ID, and member type.
|
RoomMembership |
withRole(RoomMembershipRole role)
The membership role.
|
RoomMembership |
withRole(String role)
The membership role.
|
RoomMembership |
withRoomId(String roomId)
The room ID.
|
RoomMembership |
withUpdatedTimestamp(Date updatedTimestamp)
The room membership update timestamp, in ISO 8601 format.
|
public void setRoomId(String roomId)
The room ID.
roomId
- The room ID.public String getRoomId()
The room ID.
public RoomMembership withRoomId(String roomId)
The room ID.
roomId
- The room ID.public void setMember(Member member)
The member details, such as email address, name, member ID, and member type.
member
- The member details, such as email address, name, member ID, and member type.public Member getMember()
The member details, such as email address, name, member ID, and member type.
public RoomMembership withMember(Member member)
The member details, such as email address, name, member ID, and member type.
member
- The member details, such as email address, name, member ID, and member type.public void setRole(String role)
The membership role.
role
- The membership role.RoomMembershipRole
public String getRole()
The membership role.
RoomMembershipRole
public RoomMembership withRole(String role)
The membership role.
role
- The membership role.RoomMembershipRole
public RoomMembership withRole(RoomMembershipRole role)
The membership role.
role
- The membership role.RoomMembershipRole
public void setInvitedBy(String invitedBy)
The identifier of the user that invited the room member.
invitedBy
- The identifier of the user that invited the room member.public String getInvitedBy()
The identifier of the user that invited the room member.
public RoomMembership withInvitedBy(String invitedBy)
The identifier of the user that invited the room member.
invitedBy
- The identifier of the user that invited the room member.public void setUpdatedTimestamp(Date updatedTimestamp)
The room membership update timestamp, in ISO 8601 format.
updatedTimestamp
- The room membership update timestamp, in ISO 8601 format.public Date getUpdatedTimestamp()
The room membership update timestamp, in ISO 8601 format.
public RoomMembership withUpdatedTimestamp(Date updatedTimestamp)
The room membership update timestamp, in ISO 8601 format.
updatedTimestamp
- The room membership update timestamp, in ISO 8601 format.public String toString()
toString
in class Object
Object.toString()
public RoomMembership clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.