Interface ListEksAnywhereSubscriptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEksAnywhereSubscriptionsResponse.Builder,
,ListEksAnywhereSubscriptionsResponse> EksResponse.Builder
,SdkBuilder<ListEksAnywhereSubscriptionsResponse.Builder,
,ListEksAnywhereSubscriptionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListEksAnywhereSubscriptionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe nextToken value to include in a future ListEksAnywhereSubscriptions request.subscriptions
(Collection<EksAnywhereSubscription> subscriptions) A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.subscriptions
(Consumer<EksAnywhereSubscription.Builder>... subscriptions) A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.subscriptions
(EksAnywhereSubscription... subscriptions) A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
subscriptions
ListEksAnywhereSubscriptionsResponse.Builder subscriptions(Collection<EksAnywhereSubscription> subscriptions) A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.
- Parameters:
subscriptions
- A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
ListEksAnywhereSubscriptionsResponse.Builder subscriptions(EksAnywhereSubscription... subscriptions) A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.
- Parameters:
subscriptions
- A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
ListEksAnywhereSubscriptionsResponse.Builder subscriptions(Consumer<EksAnywhereSubscription.Builder>... subscriptions) A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.
This is a convenience method that creates an instance of theEksAnywhereSubscription.Builder
avoiding the need to create one manually viaEksAnywhereSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscriptions(List<EksAnywhereSubscription>)
.- Parameters:
subscriptions
- a consumer that will call methods onEksAnywhereSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-