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 to include in a futureDescribeAddonVersionsrequest.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 to include in a futureDescribeAddonVersionsrequest. When the results of aDescribeAddonVersionsrequest exceedmaxResults, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.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 to include in a futureDescribeAddonVersionsrequest. When the results of aDescribeAddonVersionsrequest exceedmaxResults, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.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.
-