Interface ListProvisionedCapacityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProvisionedCapacityResponse.Builder,
,ListProvisionedCapacityResponse> GlacierResponse.Builder
,SdkBuilder<ListProvisionedCapacityResponse.Builder,
,ListProvisionedCapacityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProvisionedCapacityResponse
public static interface ListProvisionedCapacityResponse.Builder
extends GlacierResponse.Builder, SdkPojo, CopyableBuilder<ListProvisionedCapacityResponse.Builder,ListProvisionedCapacityResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprovisionedCapacityList
(Collection<ProvisionedCapacityDescription> provisionedCapacityList) The response body contains the following JSON fields.provisionedCapacityList
(Consumer<ProvisionedCapacityDescription.Builder>... provisionedCapacityList) The response body contains the following JSON fields.provisionedCapacityList
(ProvisionedCapacityDescription... provisionedCapacityList) The response body contains the following JSON fields.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierResponse.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
-
provisionedCapacityList
ListProvisionedCapacityResponse.Builder provisionedCapacityList(Collection<ProvisionedCapacityDescription> provisionedCapacityList) The response body contains the following JSON fields.
- Parameters:
provisionedCapacityList
- The response body contains the following JSON fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedCapacityList
ListProvisionedCapacityResponse.Builder provisionedCapacityList(ProvisionedCapacityDescription... provisionedCapacityList) The response body contains the following JSON fields.
- Parameters:
provisionedCapacityList
- The response body contains the following JSON fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedCapacityList
ListProvisionedCapacityResponse.Builder provisionedCapacityList(Consumer<ProvisionedCapacityDescription.Builder>... provisionedCapacityList) The response body contains the following JSON fields.
This is a convenience method that creates an instance of theProvisionedCapacityDescription.Builder
avoiding the need to create one manually viaProvisionedCapacityDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedCapacityList(List<ProvisionedCapacityDescription>)
.- Parameters:
provisionedCapacityList
- a consumer that will call methods onProvisionedCapacityDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-