Interface ListEksAnywhereSubscriptionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListEksAnywhereSubscriptionsResponse.Builder,ListEksAnywhereSubscriptionsResponse>,EksResponse.Builder,SdkBuilder<ListEksAnywhereSubscriptionsResponse.Builder,ListEksAnywhereSubscriptionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListEksAnywhereSubscriptionsResponse
public static interface ListEksAnywhereSubscriptionsResponse.Builder extends EksResponse.Builder, SdkPojo, CopyableBuilder<ListEksAnywhereSubscriptionsResponse.Builder,ListEksAnywhereSubscriptionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListEksAnywhereSubscriptionsResponse.BuildernextToken(String nextToken)The nextToken value to include in a future ListEksAnywhereSubscriptions request.ListEksAnywhereSubscriptionsResponse.Buildersubscriptions(Collection<EksAnywhereSubscription> subscriptions)A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.ListEksAnywhereSubscriptionsResponse.Buildersubscriptions(Consumer<EksAnywhereSubscription.Builder>... subscriptions)A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.ListEksAnywhereSubscriptionsResponse.Buildersubscriptions(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 Detail
-
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.Builderavoiding the need to create one manually viaEksAnywhereSubscription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subscriptions(List.) - 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:
#subscriptions(java.util.Collection)
-
nextToken
ListEksAnywhereSubscriptionsResponse.Builder nextToken(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.
- 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.
-
-