@Generated(value="software.amazon.awssdk:codegen") public final class GetReservedInstancesExchangeQuoteRequest extends Ec2Request implements ToCopyableBuilder<GetReservedInstancesExchangeQuoteRequest.Builder,GetReservedInstancesExchangeQuoteRequest>
Contains the parameters for GetReservedInstanceExchangeQuote.
Modifier and Type | Class and Description |
---|---|
static interface |
GetReservedInstancesExchangeQuoteRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetReservedInstancesExchangeQuoteRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasReservedInstanceIds()
Returns true if the ReservedInstanceIds property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTargetConfigurations()
Returns true if the TargetConfigurations property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<String> |
reservedInstanceIds()
The IDs of the Convertible Reserved Instances to exchange.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetReservedInstancesExchangeQuoteRequest.Builder> |
serializableBuilderClass() |
List<TargetConfigurationRequest> |
targetConfigurations()
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved
Instances.
|
GetReservedInstancesExchangeQuoteRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public boolean hasReservedInstanceIds()
public List<String> reservedInstanceIds()
The IDs of the Convertible Reserved Instances to exchange.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasReservedInstanceIds()
to see if a value was sent in this field.
public boolean hasTargetConfigurations()
public List<TargetConfigurationRequest> targetConfigurations()
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargetConfigurations()
to see if a value was sent in this field.
public GetReservedInstancesExchangeQuoteRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetReservedInstancesExchangeQuoteRequest.Builder,GetReservedInstancesExchangeQuoteRequest>
toBuilder
in class Ec2Request
public static GetReservedInstancesExchangeQuoteRequest.Builder builder()
public static Class<? extends GetReservedInstancesExchangeQuoteRequest.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 © 2020. All rights reserved.