@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubscriptionDefinitionVersion extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
SubscriptionDefinitionVersion() |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionDefinitionVersion |
clone() |
boolean |
equals(Object obj) |
List<Subscription> |
getSubscriptions()
A list of subscriptions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSubscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.
|
String |
toString()
Returns a string representation of this object.
|
SubscriptionDefinitionVersion |
withSubscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.
|
SubscriptionDefinitionVersion |
withSubscriptions(Subscription... subscriptions)
A list of subscriptions.
|
public List<Subscription> getSubscriptions()
public void setSubscriptions(Collection<Subscription> subscriptions)
subscriptions - A list of subscriptions.public SubscriptionDefinitionVersion withSubscriptions(Subscription... subscriptions)
NOTE: This method appends the values to the existing list (if any). Use
setSubscriptions(java.util.Collection) or withSubscriptions(java.util.Collection) if you want
to override the existing values.
subscriptions - A list of subscriptions.public SubscriptionDefinitionVersion withSubscriptions(Collection<Subscription> subscriptions)
subscriptions - A list of subscriptions.public String toString()
toString in class ObjectObject.toString()public SubscriptionDefinitionVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.