@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEksAnywhereSubscriptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEksAnywhereSubscriptionsResult() |
Modifier and Type | Method and Description |
---|---|
ListEksAnywhereSubscriptionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The nextToken value to include in a future ListEksAnywhereSubscriptions request.
|
List<EksAnywhereSubscription> |
getSubscriptions()
A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and
maxResults.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The nextToken value to include in a future ListEksAnywhereSubscriptions request.
|
void |
setSubscriptions(Collection<EksAnywhereSubscription> subscriptions)
A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and
maxResults.
|
String |
toString()
Returns a string representation of this object.
|
ListEksAnywhereSubscriptionsResult |
withNextToken(String nextToken)
The nextToken value to include in a future ListEksAnywhereSubscriptions request.
|
ListEksAnywhereSubscriptionsResult |
withSubscriptions(Collection<EksAnywhereSubscription> subscriptions)
A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and
maxResults.
|
ListEksAnywhereSubscriptionsResult |
withSubscriptions(EksAnywhereSubscription... subscriptions)
A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and
maxResults.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EksAnywhereSubscription> getSubscriptions()
A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.
public void setSubscriptions(Collection<EksAnywhereSubscription> subscriptions)
A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.
subscriptions
- A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and
maxResults.public ListEksAnywhereSubscriptionsResult withSubscriptions(EksAnywhereSubscription... subscriptions)
A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.
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
- A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and
maxResults.public ListEksAnywhereSubscriptionsResult withSubscriptions(Collection<EksAnywhereSubscription> subscriptions)
A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.
subscriptions
- A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and
maxResults.public void setNextToken(String nextToken)
The nextToken value to include in a future ListEksAnywhereSubscriptions request. When the results of a ListEksAnywhereSubscriptions request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The nextToken value to include in a future ListEksAnywhereSubscriptions request. When the results of a
ListEksAnywhereSubscriptions request exceed maxResults, you can use this value to retrieve the next page
of results. This value is null when there are no more results to return.public String getNextToken()
The nextToken value to include in a future ListEksAnywhereSubscriptions request. When the results of a ListEksAnywhereSubscriptions request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.
public ListEksAnywhereSubscriptionsResult withNextToken(String nextToken)
The nextToken value to include in a future ListEksAnywhereSubscriptions request. When the results of a ListEksAnywhereSubscriptions request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The nextToken value to include in a future ListEksAnywhereSubscriptions request. When the results of a
ListEksAnywhereSubscriptions request exceed maxResults, you can use this value to retrieve the next page
of results. This value is null when there are no more results to return.public String toString()
toString
in class Object
Object.toString()
public ListEksAnywhereSubscriptionsResult clone()