@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 Ec2Request
public static PurchaseReservedInstancesOfferingRequest.Builder builder()
public static Class<? extends PurchaseReservedInstancesOfferingRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.