public class ReservedInstancesConfiguration extends Object implements Serializable, Cloneable
Describes the configuration settings for the modified Reserved Instances.
| Constructor and Description |
|---|
ReservedInstancesConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ReservedInstancesConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone for the modified Reserved Instances.
|
Integer |
getInstanceCount()
The number of modified Reserved Instances.
|
String |
getInstanceType()
The instance type for the modified Reserved Instances.
|
String |
getPlatform()
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
|
String |
getScope()
Whether the Reserved Instance is
standard or convertible. |
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone for the modified Reserved Instances.
|
void |
setInstanceCount(Integer instanceCount)
The number of modified Reserved Instances.
|
void |
setInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.
|
void |
setInstanceType(String instanceType)
The instance type for the modified Reserved Instances.
|
void |
setPlatform(String platform)
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
|
void |
setScope(Scope scope)
Whether the Reserved Instance is
standard or convertible. |
void |
setScope(String scope)
Whether the Reserved Instance is
standard or convertible. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReservedInstancesConfiguration |
withAvailabilityZone(String availabilityZone)
The Availability Zone for the modified Reserved Instances.
|
ReservedInstancesConfiguration |
withInstanceCount(Integer instanceCount)
The number of modified Reserved Instances.
|
ReservedInstancesConfiguration |
withInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.
|
ReservedInstancesConfiguration |
withInstanceType(String instanceType)
The instance type for the modified Reserved Instances.
|
ReservedInstancesConfiguration |
withPlatform(String platform)
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
|
ReservedInstancesConfiguration |
withScope(Scope scope)
Whether the Reserved Instance is
standard or convertible. |
ReservedInstancesConfiguration |
withScope(String scope)
Whether the Reserved Instance is
standard or convertible. |
public void setAvailabilityZone(String availabilityZone)
The Availability Zone for the modified Reserved Instances.
availabilityZone - The Availability Zone for the modified Reserved Instances.public String getAvailabilityZone()
The Availability Zone for the modified Reserved Instances.
public ReservedInstancesConfiguration withAvailabilityZone(String availabilityZone)
The Availability Zone for the modified Reserved Instances.
availabilityZone - The Availability Zone for the modified Reserved Instances.public void setPlatform(String platform)
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
platform - The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.public String getPlatform()
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
public ReservedInstancesConfiguration withPlatform(String platform)
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
platform - The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.public void setInstanceCount(Integer instanceCount)
The number of modified Reserved Instances.
instanceCount - The number of modified Reserved Instances.public Integer getInstanceCount()
The number of modified Reserved Instances.
public ReservedInstancesConfiguration withInstanceCount(Integer instanceCount)
The number of modified Reserved Instances.
instanceCount - The number of modified Reserved Instances.public void setInstanceType(String instanceType)
The instance type for the modified Reserved Instances.
instanceType - The instance type for the modified Reserved Instances.InstanceTypepublic String getInstanceType()
The instance type for the modified Reserved Instances.
InstanceTypepublic ReservedInstancesConfiguration withInstanceType(String instanceType)
The instance type for the modified Reserved Instances.
instanceType - The instance type for the modified Reserved Instances.InstanceTypepublic void setInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.
instanceType - The instance type for the modified Reserved Instances.InstanceTypepublic ReservedInstancesConfiguration withInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.
instanceType - The instance type for the modified Reserved Instances.InstanceTypepublic void setScope(String scope)
Whether the Reserved Instance is standard or convertible.
scope - Whether the Reserved Instance is standard or convertible.Scopepublic String getScope()
Whether the Reserved Instance is standard or convertible.
standard or convertible.Scopepublic ReservedInstancesConfiguration withScope(String scope)
Whether the Reserved Instance is standard or convertible.
scope - Whether the Reserved Instance is standard or convertible.Scopepublic void setScope(Scope scope)
Whether the Reserved Instance is standard or convertible.
scope - Whether the Reserved Instance is standard or convertible.Scopepublic ReservedInstancesConfiguration withScope(Scope scope)
Whether the Reserved Instance is standard or convertible.
scope - Whether the Reserved Instance is standard or convertible.Scopepublic String toString()
toString in class ObjectObject.toString()public ReservedInstancesConfiguration clone()
Copyright © 2016. All rights reserved.