@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelMembershipPreferences extends Object implements Serializable, Cloneable, StructuredPojo
The channel membership preferences for an AppInstanceUser
.
Constructor and Description |
---|
ChannelMembershipPreferences() |
Modifier and Type | Method and Description |
---|---|
ChannelMembershipPreferences |
clone() |
boolean |
equals(Object obj) |
PushNotificationPreferences |
getPushNotifications()
The push notification configuration of a message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPushNotifications(PushNotificationPreferences pushNotifications)
The push notification configuration of a message.
|
String |
toString()
Returns a string representation of this object.
|
ChannelMembershipPreferences |
withPushNotifications(PushNotificationPreferences pushNotifications)
The push notification configuration of a message.
|
public void setPushNotifications(PushNotificationPreferences pushNotifications)
The push notification configuration of a message.
pushNotifications
- The push notification configuration of a message.public PushNotificationPreferences getPushNotifications()
The push notification configuration of a message.
public ChannelMembershipPreferences withPushNotifications(PushNotificationPreferences pushNotifications)
The push notification configuration of a message.
pushNotifications
- The push notification configuration of a message.public String toString()
toString
in class Object
Object.toString()
public ChannelMembershipPreferences clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.