@Generated(value="software.amazon.awssdk:codegen") public final class PurchaseReservedInstancesOfferingRequest extends Ec2Request implements ToCopyableBuilder<PurchaseReservedInstancesOfferingRequest.Builder,PurchaseReservedInstancesOfferingRequest>
Contains the parameters for PurchaseReservedInstancesOffering.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PurchaseReservedInstancesOfferingRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PurchaseReservedInstancesOfferingRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
instanceCount()
The number of Reserved Instances to purchase.
|
ReservedInstanceLimitPrice |
limitPrice()
Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved
Instances are not purchased at unexpected prices.
|
Instant |
purchaseTime()
The time at which to purchase the Reserved Instance, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
|
String |
reservedInstancesOfferingId()
The ID of the Reserved Instance offering to purchase.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PurchaseReservedInstancesOfferingRequest.Builder> |
serializableBuilderClass() |
PurchaseReservedInstancesOfferingRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer instanceCount()
The number of Reserved Instances to purchase.
public final String reservedInstancesOfferingId()
The ID of the Reserved Instance offering to purchase.
public final ReservedInstanceLimitPrice limitPrice()
Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.
public final Instant purchaseTime()
The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
public PurchaseReservedInstancesOfferingRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PurchaseReservedInstancesOfferingRequest.Builder,PurchaseReservedInstancesOfferingRequest>toBuilder in class Ec2Requestpublic static PurchaseReservedInstancesOfferingRequest.Builder builder()
public static Class<? extends PurchaseReservedInstancesOfferingRequest.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.