Class DescribeEventSubscriptionsResult
- java.lang.Object
-
- com.amazonaws.services.redshift.model.DescribeEventSubscriptionsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeEventSubscriptionsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeEventSubscriptionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEventSubscriptionsResultclone()booleanequals(Object obj)List<EventSubscription>getEventSubscriptionsList()A list of event subscriptions.StringgetMarker()A value that indicates the starting point for the next set of response records in a subsequent request.inthashCode()voidsetEventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList)A list of event subscriptions.voidsetMarker(String marker)A value that indicates the starting point for the next set of response records in a subsequent request.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeEventSubscriptionsResultwithEventSubscriptionsList(EventSubscription... eventSubscriptionsList)A list of event subscriptions.DescribeEventSubscriptionsResultwithEventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList)A list of event subscriptions.DescribeEventSubscriptionsResultwithMarker(String marker)A value that indicates the starting point for the next set of response records in a subsequent request.
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Markerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.- Parameters:
marker- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in theMarkerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.
-
getMarker
public String getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Markerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.- Returns:
- A value that indicates the starting point for the next set of
response records in a subsequent request. If a value is returned
in a response, you can retrieve the next set of records by
providing this returned marker value in the
Markerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.
-
withMarker
public DescribeEventSubscriptionsResult withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
Markerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.- Parameters:
marker- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in theMarkerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEventSubscriptionsList
public List<EventSubscription> getEventSubscriptionsList()
A list of event subscriptions.
- Returns:
- A list of event subscriptions.
-
setEventSubscriptionsList
public void setEventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList)
A list of event subscriptions.
- Parameters:
eventSubscriptionsList- A list of event subscriptions.
-
withEventSubscriptionsList
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)orwithEventSubscriptionsList(java.util.Collection)if you want to override the existing values.- Parameters:
eventSubscriptionsList- A list of event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEventSubscriptionsList
public DescribeEventSubscriptionsResult withEventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList)
A list of event subscriptions.
- Parameters:
eventSubscriptionsList- A list of event subscriptions.- 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 DescribeEventSubscriptionsResult clone()
-
-