@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEventSubscriptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEventSubscriptionsResult() |
Modifier and Type | Method and Description |
---|---|
ListEventSubscriptionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
List<Subscription> |
getSubscriptions()
Details of the returned event subscriptions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
void |
setSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
|
String |
toString()
Returns a string representation of this object.
|
ListEventSubscriptionsResult |
withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and
contains the value to use for the nextToken parameter in a subsequent pagination request.
|
ListEventSubscriptionsResult |
withSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
|
ListEventSubscriptionsResult |
withSubscriptions(Subscription... subscriptions)
Details of the returned event subscriptions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Subscription> getSubscriptions()
Details of the returned event subscriptions.
public void setSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
subscriptions
- Details of the returned event subscriptions.public ListEventSubscriptionsResult withSubscriptions(Subscription... subscriptions)
Details of the returned event 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
- Details of the returned event subscriptions.public ListEventSubscriptionsResult withSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
subscriptions
- Details of the returned event subscriptions.public void setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination
request. If there is no more data to be listed, this parameter is set to null.public String getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
public ListEventSubscriptionsResult withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
nextToken
- When a response is generated, if there is more data to be listed, this parameter is present in the
response and contains the value to use for the nextToken parameter in a subsequent pagination
request. If there is no more data to be listed, this parameter is set to null.public String toString()
toString
in class Object
Object.toString()
public ListEventSubscriptionsResult clone()