Interface ListCapabilitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCapabilitiesResponse.Builder,,ListCapabilitiesResponse> EksResponse.Builder,SdkBuilder<ListCapabilitiesResponse.Builder,,ListCapabilitiesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCapabilitiesResponse
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities(Collection<CapabilitySummary> capabilities) A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.capabilities(Consumer<CapabilitySummary.Builder>... capabilities) A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.capabilities(CapabilitySummary... capabilities) A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.ThenextTokenvalue to include in a futureListCapabilitiesrequest.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
capabilities
A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.
- Parameters:
capabilities- A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.
- Parameters:
capabilities- A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.
This is a convenience method that creates an instance of theCapabilitySummary.Builderavoiding the need to create one manually viaCapabilitySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilities(List<CapabilitySummary>).- Parameters:
capabilities- a consumer that will call methods onCapabilitySummary.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 futureListCapabilitiesrequest. When the results of aListCapabilitiesrequest exceedmaxResults, 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- ThenextTokenvalue to include in a futureListCapabilitiesrequest. When the results of aListCapabilitiesrequest exceedmaxResults, 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.
-