Interface DescribeCapacityBlockExtensionHistoryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCapacityBlockExtensionHistoryResponse.Builder,
,DescribeCapacityBlockExtensionHistoryResponse> Ec2Response.Builder
,SdkBuilder<DescribeCapacityBlockExtensionHistoryResponse.Builder,
,DescribeCapacityBlockExtensionHistoryResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeCapacityBlockExtensionHistoryResponse
-
Method Summary
Modifier and TypeMethodDescriptioncapacityBlockExtensions
(Collection<CapacityBlockExtension> capacityBlockExtensions) Describes one or more of your Capacity Block extensions.capacityBlockExtensions
(Consumer<CapacityBlockExtension.Builder>... capacityBlockExtensions) Describes one or more of your Capacity Block extensions.capacityBlockExtensions
(CapacityBlockExtension... capacityBlockExtensions) Describes one or more of your Capacity Block extensions.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
capacityBlockExtensions
DescribeCapacityBlockExtensionHistoryResponse.Builder capacityBlockExtensions(Collection<CapacityBlockExtension> capacityBlockExtensions) Describes one or more of your Capacity Block extensions. The results describe only the Capacity Block extensions in the Amazon Web Services Region that you're currently using.
- Parameters:
capacityBlockExtensions
- Describes one or more of your Capacity Block extensions. The results describe only the Capacity Block extensions in the Amazon Web Services Region that you're currently using.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensions
DescribeCapacityBlockExtensionHistoryResponse.Builder capacityBlockExtensions(CapacityBlockExtension... capacityBlockExtensions) Describes one or more of your Capacity Block extensions. The results describe only the Capacity Block extensions in the Amazon Web Services Region that you're currently using.
- Parameters:
capacityBlockExtensions
- Describes one or more of your Capacity Block extensions. The results describe only the Capacity Block extensions in the Amazon Web Services Region that you're currently using.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensions
DescribeCapacityBlockExtensionHistoryResponse.Builder capacityBlockExtensions(Consumer<CapacityBlockExtension.Builder>... capacityBlockExtensions) Describes one or more of your Capacity Block extensions. The results describe only the Capacity Block extensions in the Amazon Web Services Region that you're currently using.
This is a convenience method that creates an instance of theCapacityBlockExtension.Builder
avoiding the need to create one manually viaCapacityBlockExtension.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityBlockExtensions(List<CapacityBlockExtension>)
.- Parameters:
capacityBlockExtensions
- a consumer that will call methods onCapacityBlockExtension.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-