@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, which is either EC2-Classic or EC2-VPC.
|
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, wait
copy
public 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()
.
InstanceType
public 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()
.
InstanceType
public final String platform()
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
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()
.
Scope
public 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()
.
Scope
public 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 SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.