Interface DescribeAddonVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAddonVersionsResponse.Builder,
,DescribeAddonVersionsResponse> EksResponse.Builder
,SdkBuilder<DescribeAddonVersionsResponse.Builder,
,DescribeAddonVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAddonVersionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddons
(Collection<AddonInfo> addons) The list of available versions with Kubernetes version compatibility and other properties.addons
(Consumer<AddonInfo.Builder>... addons) The list of available versions with Kubernetes version compatibility and other properties.The list of available versions with Kubernetes version compatibility and other properties.ThenextToken
value returned from a previous paginatedDescribeAddonVersionsResponse
wheremaxResults
was used and the results exceeded the value of that parameter.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
-
addons
The list of available versions with Kubernetes version compatibility and other properties.
- Parameters:
addons
- The list of available versions with Kubernetes version compatibility and other properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addons
The list of available versions with Kubernetes version compatibility and other properties.
- Parameters:
addons
- The list of available versions with Kubernetes version compatibility and other properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addons
The list of available versions with Kubernetes version compatibility and other properties.
This is a convenience method that creates an instance of theAddonInfo.Builder
avoiding the need to create one manually viaAddonInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddons(List<AddonInfo>)
.- Parameters:
addons
- a consumer that will call methods onAddonInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextToken
value returned from a previous paginatedDescribeAddonVersionsResponse
wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
- Parameters:
nextToken
- ThenextToken
value returned from a previous paginatedDescribeAddonVersionsResponse
wheremaxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextToken
value.This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-