@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()
Subscriptions in the version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSubscriptions(Collection<Subscription> subscriptions)
Subscriptions in the version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SubscriptionDefinitionVersion |
withSubscriptions(Collection<Subscription> subscriptions)
Subscriptions in the version.
|
SubscriptionDefinitionVersion |
withSubscriptions(Subscription... subscriptions)
Subscriptions in the version.
|
public List<Subscription> getSubscriptions()
public void setSubscriptions(Collection<Subscription> subscriptions)
subscriptions
- Subscriptions in the version.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
- Subscriptions in the version.public SubscriptionDefinitionVersion withSubscriptions(Collection<Subscription> subscriptions)
subscriptions
- Subscriptions in the version.public String toString()
toString
in class Object
Object.toString()
public SubscriptionDefinitionVersion 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.