@Generated(value="software.amazon.awssdk:codegen") public final class ReservedInstancesConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>
Describes the configuration settings for the modified Reserved Instances.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReservedInstancesConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZone()
The Availability Zone for the modified Reserved Instances.
|
static ReservedInstancesConfiguration.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 modified Reserved Instances.
|
InstanceType |
instanceType()
The instance type for the modified Reserved Instances.
|
String |
instanceTypeAsString()
The instance type for the modified Reserved Instances.
|
String |
platform()
The network platform of the modified Reserved Instances.
|
Scope |
scope()
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
|
String |
scopeAsString()
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReservedInstancesConfiguration.Builder> |
serializableBuilderClass() |
ReservedInstancesConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String availabilityZone()
The Availability Zone for the modified Reserved Instances.
public final Integer instanceCount()
The number of modified Reserved Instances.
This is a required field for a request.
This is a required field for a request.
public final InstanceType instanceType()
The instance type for the modified Reserved Instances.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final String instanceTypeAsString()
The instance type for the modified Reserved Instances.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final String platform()
The network platform of the modified Reserved Instances.
public final Scope scope()
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
If the service returns an enum value that is not available in the current SDK version, scope will return
Scope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scopeAsString().
Scopepublic final String scopeAsString()
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
If the service returns an enum value that is not available in the current SDK version, scope will return
Scope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scopeAsString().
Scopepublic ReservedInstancesConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>public static ReservedInstancesConfiguration.Builder builder()
public static Class<? extends ReservedInstancesConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.