@Generated(value="software.amazon.awssdk:codegen") public class ReservedInstancesConfiguration extends Object implements 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) |
<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.
|
static Class<? extends ReservedInstancesConfiguration.Builder> |
serializableBuilderClass() |
ReservedInstancesConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String availabilityZone()
The Availability Zone for the modified Reserved Instances.
public Integer instanceCount()
The number of modified Reserved Instances.
public 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 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 String platform()
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
public 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 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>public static ReservedInstancesConfiguration.Builder builder()
public static Class<? extends ReservedInstancesConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.