Interface DescribeCapacityBlockExtensionOfferingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeCapacityBlockExtensionOfferingsRequest.Builder,DescribeCapacityBlockExtensionOfferingsRequest>
,Ec2Request.Builder
,SdkBuilder<DescribeCapacityBlockExtensionOfferingsRequest.Builder,DescribeCapacityBlockExtensionOfferingsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DescribeCapacityBlockExtensionOfferingsRequest
public static interface DescribeCapacityBlockExtensionOfferingsRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeCapacityBlockExtensionOfferingsRequest.Builder,DescribeCapacityBlockExtensionOfferingsRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dryRun
DescribeCapacityBlockExtensionOfferingsRequest.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 isUnauthorizedOperation
.- Parameters:
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityBlockExtensionDurationHours
DescribeCapacityBlockExtensionOfferingsRequest.Builder capacityBlockExtensionDurationHours(Integer capacityBlockExtensionDurationHours)
The duration of the Capacity Block extension offering in hours.
- Parameters:
capacityBlockExtensionDurationHours
- The duration of the Capacity Block extension offering in hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationId
DescribeCapacityBlockExtensionOfferingsRequest.Builder capacityReservationId(String capacityReservationId)
The ID of the Capacity reservation to be extended.
- Parameters:
capacityReservationId
- The ID of the Capacity reservation to be extended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
DescribeCapacityBlockExtensionOfferingsRequest.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results.
- Parameters:
nextToken
- The token to use to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
DescribeCapacityBlockExtensionOfferingsRequest.Builder maxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
- Parameters:
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeCapacityBlockExtensionOfferingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeCapacityBlockExtensionOfferingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-