@Generated(value="software.amazon.awssdk:codegen") public final class CreateReservedInstancesListingRequest extends Ec2Request implements ToCopyableBuilder<CreateReservedInstancesListingRequest.Builder,CreateReservedInstancesListingRequest>
Contains the parameters for CreateReservedInstancesListing.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateReservedInstancesListingRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateReservedInstancesListingRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of your listings.
|
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 that are a part of a Reserved Instance account to be listed in the Reserved Instance
Marketplace.
|
List<PriceScheduleSpecification> |
priceSchedules()
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance
term.
|
String |
reservedInstancesId()
The ID of the active Standard Reserved Instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateReservedInstancesListingRequest.Builder> |
serializableBuilderClass() |
CreateReservedInstancesListingRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String clientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of your listings. This helps avoid duplicate listings. For more information, see Ensuring Idempotency.
public Integer instanceCount()
The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.
public List<PriceScheduleSpecification> priceSchedules()
A list specifying the price of the Standard Reserved Instance for each month remaining in the Reserved Instance term.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String reservedInstancesId()
The ID of the active Standard Reserved Instance.
public CreateReservedInstancesListingRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateReservedInstancesListingRequest.Builder,CreateReservedInstancesListingRequest>
toBuilder
in class Ec2Request
public static CreateReservedInstancesListingRequest.Builder builder()
public static Class<? extends CreateReservedInstancesListingRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.