@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppInstanceUserMembershipSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary of the membership details of an AppInstanceUser
.
Constructor and Description |
---|
AppInstanceUserMembershipSummary() |
Modifier and Type | Method and Description |
---|---|
AppInstanceUserMembershipSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getReadMarkerTimestamp()
The time at which an
AppInstanceUser last marked a channel as read. |
String |
getSubChannelId()
The ID of the SubChannel that the
AppInstanceUser is a member of. |
String |
getType()
The type of
ChannelMembership . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReadMarkerTimestamp(Date readMarkerTimestamp)
The time at which an
AppInstanceUser last marked a channel as read. |
void |
setSubChannelId(String subChannelId)
The ID of the SubChannel that the
AppInstanceUser is a member of. |
void |
setType(String type)
The type of
ChannelMembership . |
String |
toString()
Returns a string representation of this object.
|
AppInstanceUserMembershipSummary |
withReadMarkerTimestamp(Date readMarkerTimestamp)
The time at which an
AppInstanceUser last marked a channel as read. |
AppInstanceUserMembershipSummary |
withSubChannelId(String subChannelId)
The ID of the SubChannel that the
AppInstanceUser is a member of. |
AppInstanceUserMembershipSummary |
withType(ChannelMembershipType type)
The type of
ChannelMembership . |
AppInstanceUserMembershipSummary |
withType(String type)
The type of
ChannelMembership . |
public void setType(String type)
The type of ChannelMembership
.
type
- The type of ChannelMembership
.ChannelMembershipType
public String getType()
The type of ChannelMembership
.
ChannelMembership
.ChannelMembershipType
public AppInstanceUserMembershipSummary withType(String type)
The type of ChannelMembership
.
type
- The type of ChannelMembership
.ChannelMembershipType
public AppInstanceUserMembershipSummary withType(ChannelMembershipType type)
The type of ChannelMembership
.
type
- The type of ChannelMembership
.ChannelMembershipType
public void setReadMarkerTimestamp(Date readMarkerTimestamp)
The time at which an AppInstanceUser
last marked a channel as read.
readMarkerTimestamp
- The time at which an AppInstanceUser
last marked a channel as read.public Date getReadMarkerTimestamp()
The time at which an AppInstanceUser
last marked a channel as read.
AppInstanceUser
last marked a channel as read.public AppInstanceUserMembershipSummary withReadMarkerTimestamp(Date readMarkerTimestamp)
The time at which an AppInstanceUser
last marked a channel as read.
readMarkerTimestamp
- The time at which an AppInstanceUser
last marked a channel as read.public void setSubChannelId(String subChannelId)
The ID of the SubChannel that the AppInstanceUser
is a member of.
subChannelId
- The ID of the SubChannel that the AppInstanceUser
is a member of.public String getSubChannelId()
The ID of the SubChannel that the AppInstanceUser
is a member of.
AppInstanceUser
is a member of.public AppInstanceUserMembershipSummary withSubChannelId(String subChannelId)
The ID of the SubChannel that the AppInstanceUser
is a member of.
subChannelId
- The ID of the SubChannel that the AppInstanceUser
is a member of.public String toString()
toString
in class Object
Object.toString()
public AppInstanceUserMembershipSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.