@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 a message was last read.
|
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 a message was last read.
|
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 a message was last read.
|
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 a message was last read.
readMarkerTimestamp
- The time at which a message was last read.public Date getReadMarkerTimestamp()
The time at which a message was last read.
public AppInstanceUserMembershipSummary withReadMarkerTimestamp(Date readMarkerTimestamp)
The time at which a message was last read.
readMarkerTimestamp
- The time at which a message was last read.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.