public static interface DescribeCapacityBlockOfferingsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeCapacityBlockOfferingsRequest.Builder,DescribeCapacityBlockOfferingsRequest>
| Modifier and Type | Method and Description |
|---|---|
DescribeCapacityBlockOfferingsRequest.Builder |
capacityDurationHours(Integer capacityDurationHours)
The number of hours for which to reserve Capacity Block.
|
DescribeCapacityBlockOfferingsRequest.Builder |
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
DescribeCapacityBlockOfferingsRequest.Builder |
endDateRange(Instant endDateRange)
The latest end date for the Capacity Block offering.
|
DescribeCapacityBlockOfferingsRequest.Builder |
instanceCount(Integer instanceCount)
The number of instances for which to reserve capacity.
|
DescribeCapacityBlockOfferingsRequest.Builder |
instanceType(String instanceType)
The type of instance for which the Capacity Block offering reserves capacity.
|
DescribeCapacityBlockOfferingsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
DescribeCapacityBlockOfferingsRequest.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeCapacityBlockOfferingsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DescribeCapacityBlockOfferingsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DescribeCapacityBlockOfferingsRequest.Builder |
startDateRange(Instant startDateRange)
The earliest start date for the Capacity Block offering.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeCapacityBlockOfferingsRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.DescribeCapacityBlockOfferingsRequest.Builder instanceType(String instanceType)
The type of instance for which the Capacity Block offering reserves capacity.
instanceType - The type of instance for which the Capacity Block offering reserves capacity.DescribeCapacityBlockOfferingsRequest.Builder instanceCount(Integer instanceCount)
The number of instances for which to reserve capacity.
instanceCount - The number of instances for which to reserve capacity.DescribeCapacityBlockOfferingsRequest.Builder startDateRange(Instant startDateRange)
The earliest start date for the Capacity Block offering.
startDateRange - The earliest start date for the Capacity Block offering.DescribeCapacityBlockOfferingsRequest.Builder endDateRange(Instant endDateRange)
The latest end date for the Capacity Block offering.
endDateRange - The latest end date for the Capacity Block offering.DescribeCapacityBlockOfferingsRequest.Builder capacityDurationHours(Integer capacityDurationHours)
The number of hours for which to reserve Capacity Block.
capacityDurationHours - The number of hours for which to reserve Capacity Block.DescribeCapacityBlockOfferingsRequest.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken - The token to use to retrieve the next page of results.DescribeCapacityBlockOfferingsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen
by sending another request with the returned nextToken value. This value can be between 5 and
500. If maxResults is given a larger value than 500, you receive an error.
maxResults - The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the returned nextToken value. This value can be
between 5 and 500. If maxResults is given a larger value than 500, you receive an error.DescribeCapacityBlockOfferingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDescribeCapacityBlockOfferingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.