Class ListEventSubscriptionsResult
- java.lang.Object
-
- com.amazonaws.services.inspector.model.ListEventSubscriptionsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListEventSubscriptionsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListEventSubscriptionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListEventSubscriptionsResultclone()booleanequals(Object obj)StringgetNextToken()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.inthashCode()voidsetNextToken(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.voidsetSubscriptions(Collection<Subscription> subscriptions)Details of the returned event subscriptions.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListEventSubscriptionsResultwithNextToken(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.ListEventSubscriptionsResultwithSubscriptions(Subscription... subscriptions)Details of the returned event subscriptions.ListEventSubscriptionsResultwithSubscriptions(Collection<Subscription> subscriptions)Details of the returned event subscriptions.
-
-
-
Method Detail
-
getSubscriptions
public List<Subscription> getSubscriptions()
Details of the returned event subscriptions.
- Returns:
- Details of the returned event subscriptions.
-
setSubscriptions
public void setSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
- Parameters:
subscriptions- Details of the returned event subscriptions.
-
withSubscriptions
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)orwithSubscriptions(java.util.Collection)if you want to override the existing values.- Parameters:
subscriptions- Details of the returned event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubscriptions
public ListEventSubscriptionsResult withSubscriptions(Collection<Subscription> subscriptions)
Details of the returned event subscriptions.
- Parameters:
subscriptions- Details of the returned event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
getNextToken
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListEventSubscriptionsResult clone()
-
-