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.ThenextTokenvalue returned from a previous paginatedDescribeAddonVersionsResponsewheremaxResultswas used and the results exceeded the value of that parameter.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eks.model.EksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaAddonInfo.builder().When the
Consumercompletes,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
nextTokenvalue returned from a previous paginatedDescribeAddonVersionsResponsewheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.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- ThenextTokenvalue returned from a previous paginatedDescribeAddonVersionsResponsewheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.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.
-