Interface DescribeCapacityBlockExtensionHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCapacityBlockExtensionHistoryResponse.Builder,DescribeCapacityBlockExtensionHistoryResponse>,Ec2Response.Builder,SdkBuilder<DescribeCapacityBlockExtensionHistoryResponse.Builder,DescribeCapacityBlockExtensionHistoryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeCapacityBlockExtensionHistoryResponse
public static interface DescribeCapacityBlockExtensionHistoryResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeCapacityBlockExtensionHistoryResponse.Builder,DescribeCapacityBlockExtensionHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeCapacityBlockExtensionHistoryResponse.BuildercapacityBlockExtensions(Collection<CapacityBlockExtension> capacityBlockExtensions)Describes one or more of your Capacity Block extensions.DescribeCapacityBlockExtensionHistoryResponse.BuildercapacityBlockExtensions(Consumer<CapacityBlockExtension.Builder>... capacityBlockExtensions)Describes one or more of your Capacity Block extensions.DescribeCapacityBlockExtensionHistoryResponse.BuildercapacityBlockExtensions(CapacityBlockExtension... capacityBlockExtensions)Describes one or more of your Capacity Block extensions.DescribeCapacityBlockExtensionHistoryResponse.BuildernextToken(String nextToken)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 Detail
-
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.Builderavoiding the need to create one manually viaCapacityBlockExtension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#capacityBlockExtensions(List.) - 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:
#capacityBlockExtensions(java.util.Collection)
-
nextToken
DescribeCapacityBlockExtensionHistoryResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-