@Generated(value="software.amazon.awssdk:codegen") public final class DescribeCapacityBlockOfferingsRequest extends Ec2Request implements ToCopyableBuilder<DescribeCapacityBlockOfferingsRequest.Builder,DescribeCapacityBlockOfferingsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeCapacityBlockOfferingsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeCapacityBlockOfferingsRequest.Builder |
builder() |
Integer |
capacityDurationHours()
The number of hours for which to reserve Capacity Block.
|
Boolean |
dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
Instant |
endDateRange()
The latest end date for the Capacity Block offering.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
instanceCount()
The number of instances for which to reserve capacity.
|
String |
instanceType()
The type of instance for which the Capacity Block offering reserves capacity.
|
Integer |
maxResults()
The maximum number of results to return for the request in a single page.
|
String |
nextToken()
The token to use to retrieve the next page of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeCapacityBlockOfferingsRequest.Builder> |
serializableBuilderClass() |
Instant |
startDateRange()
The earliest start date for the Capacity Block offering.
|
DescribeCapacityBlockOfferingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
DryRunOperation. Otherwise, it is UnauthorizedOperation.public final String instanceType()
The type of instance for which the Capacity Block offering reserves capacity.
public final Integer instanceCount()
The number of instances for which to reserve capacity.
public final Instant startDateRange()
The earliest start date for the Capacity Block offering.
public final Instant endDateRange()
The latest end date for the Capacity Block offering.
public final Integer capacityDurationHours()
The number of hours for which to reserve Capacity Block.
public final String nextToken()
The token to use to retrieve the next page of results.
public final 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.
nextToken value. This value can be between
5 and 500. If maxResults is given a larger value than 500, you receive an error.public DescribeCapacityBlockOfferingsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeCapacityBlockOfferingsRequest.Builder,DescribeCapacityBlockOfferingsRequest>toBuilder in class Ec2Requestpublic static DescribeCapacityBlockOfferingsRequest.Builder builder()
public static Class<? extends DescribeCapacityBlockOfferingsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.