@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeNotificationSubscriptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeNotificationSubscriptionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeNotificationSubscriptionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
The marker to use when requesting the next set of results.
|
List<Subscription> |
getSubscriptions()
The subscriptions.
|
int |
hashCode() |
void |
setMarker(String marker)
The marker to use when requesting the next set of results.
|
void |
setSubscriptions(Collection<Subscription> subscriptions)
The subscriptions.
|
String |
toString()
Returns a string representation of this object.
|
DescribeNotificationSubscriptionsResult |
withMarker(String marker)
The marker to use when requesting the next set of results.
|
DescribeNotificationSubscriptionsResult |
withSubscriptions(Collection<Subscription> subscriptions)
The subscriptions.
|
DescribeNotificationSubscriptionsResult |
withSubscriptions(Subscription... subscriptions)
The subscriptions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeNotificationSubscriptionsResult()
public List<Subscription> getSubscriptions()
The subscriptions.
public void setSubscriptions(Collection<Subscription> subscriptions)
The subscriptions.
subscriptions
- The subscriptions.public DescribeNotificationSubscriptionsResult withSubscriptions(Subscription... subscriptions)
The 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
- The subscriptions.public DescribeNotificationSubscriptionsResult withSubscriptions(Collection<Subscription> subscriptions)
The subscriptions.
subscriptions
- The subscriptions.public void setMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String getMarker()
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
public DescribeNotificationSubscriptionsResult withMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeNotificationSubscriptionsResult clone()