@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEventSubscriptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEventSubscriptionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventSubscriptionsResult |
clone() |
boolean |
equals(Object obj) |
List<EventSubscription> |
getEventSubscriptionsList()
A list of event subscriptions.
|
String |
getMarker()
An optional pagination token provided by a previous request.
|
int |
hashCode() |
void |
setEventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList)
A list of event subscriptions.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeEventSubscriptionsResult |
withEventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList)
A list of event subscriptions.
|
DescribeEventSubscriptionsResult |
withEventSubscriptionsList(EventSubscription... eventSubscriptionsList)
A list of event subscriptions.
|
DescribeEventSubscriptionsResult |
withMarker(String marker)
An optional pagination token provided by a previous request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMarker(String marker)
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.public String getMarker()
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.
MaxRecords
.public DescribeEventSubscriptionsResult withMarker(String marker)
An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.
marker
- An optional pagination token provided by a previous request. If this parameter is specified, the response
includes only records beyond the marker, up to the value specified by MaxRecords
.public List<EventSubscription> getEventSubscriptionsList()
A list of event subscriptions.
public void setEventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList)
A list of event subscriptions.
eventSubscriptionsList
- A list of event subscriptions.public DescribeEventSubscriptionsResult withEventSubscriptionsList(EventSubscription... eventSubscriptionsList)
A list of event subscriptions.
NOTE: This method appends the values to the existing list (if any). Use
setEventSubscriptionsList(java.util.Collection)
or
withEventSubscriptionsList(java.util.Collection)
if you want to override the existing values.
eventSubscriptionsList
- A list of event subscriptions.public DescribeEventSubscriptionsResult withEventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList)
A list of event subscriptions.
eventSubscriptionsList
- A list of event subscriptions.public String toString()
toString
in class Object
Object.toString()
public DescribeEventSubscriptionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.