@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationWithSubscribers extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
NotificationWithSubscribers() |
Modifier and Type | Method and Description |
---|---|
NotificationWithSubscribers |
clone() |
boolean |
equals(Object obj) |
Notification |
getNotification() |
List<Subscriber> |
getSubscribers() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNotification(Notification notification) |
void |
setSubscribers(Collection<Subscriber> subscribers) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NotificationWithSubscribers |
withNotification(Notification notification) |
NotificationWithSubscribers |
withSubscribers(Collection<Subscriber> subscribers) |
NotificationWithSubscribers |
withSubscribers(Subscriber... subscribers)
NOTE: This method appends the values to the existing list (if any).
|
public void setNotification(Notification notification)
notification
- public Notification getNotification()
public NotificationWithSubscribers withNotification(Notification notification)
notification
- public List<Subscriber> getSubscribers()
public void setSubscribers(Collection<Subscriber> subscribers)
subscribers
- public NotificationWithSubscribers withSubscribers(Subscriber... subscribers)
NOTE: This method appends the values to the existing list (if any). Use
setSubscribers(java.util.Collection)
or withSubscribers(java.util.Collection)
if you want to
override the existing values.
subscribers
- public NotificationWithSubscribers withSubscribers(Collection<Subscriber> subscribers)
subscribers
- public String toString()
toString
in class Object
Object.toString()
public NotificationWithSubscribers clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.