public class DescribeEventSubscriptionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Data returned by the DescribeEventSubscriptions action.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<EventSubscription> |
eventSubscriptionsList
A list of EventSubscriptions data types.
|
private java.lang.String |
marker
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions request.
|
Constructor and Description |
---|
DescribeEventSubscriptionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEventSubscriptionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<EventSubscription> |
getEventSubscriptionsList()
A list of EventSubscriptions data types.
|
java.lang.String |
getMarker()
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions request.
|
int |
hashCode() |
void |
setEventSubscriptionsList(java.util.Collection<EventSubscription> eventSubscriptionsList)
A list of EventSubscriptions data types.
|
void |
setMarker(java.lang.String marker)
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEventSubscriptionsResult |
withEventSubscriptionsList(java.util.Collection<EventSubscription> eventSubscriptionsList)
A list of EventSubscriptions data types.
|
DescribeEventSubscriptionsResult |
withEventSubscriptionsList(EventSubscription... eventSubscriptionsList)
A list of EventSubscriptions data types.
|
DescribeEventSubscriptionsResult |
withMarker(java.lang.String marker)
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions request.
|
private java.lang.String marker
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.
private SdkInternalList<EventSubscription> eventSubscriptionsList
A list of EventSubscriptions data types.
public void setMarker(java.lang.String marker)
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions 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
DescribeOrderableDBInstanceOptions request. If this parameter is
specified, the response includes only records beyond the marker,
up to the value specified by MaxRecords
.public java.lang.String getMarker()
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions 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(java.lang.String marker)
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions 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
DescribeOrderableDBInstanceOptions request. If this parameter is
specified, the response includes only records beyond the marker,
up to the value specified by MaxRecords
.public java.util.List<EventSubscription> getEventSubscriptionsList()
A list of EventSubscriptions data types.
public void setEventSubscriptionsList(java.util.Collection<EventSubscription> eventSubscriptionsList)
A list of EventSubscriptions data types.
eventSubscriptionsList
- A list of EventSubscriptions data types.public DescribeEventSubscriptionsResult withEventSubscriptionsList(EventSubscription... eventSubscriptionsList)
A list of EventSubscriptions data types.
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 EventSubscriptions data types.public DescribeEventSubscriptionsResult withEventSubscriptionsList(java.util.Collection<EventSubscription> eventSubscriptionsList)
A list of EventSubscriptions data types.
eventSubscriptionsList
- A list of EventSubscriptions data types.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeEventSubscriptionsResult clone()
clone
in class java.lang.Object