public class ReservedInstancesConfiguration extends Object implements Serializable
Describes the configuration settings for the modified Reserved Instances.
Constructor and Description |
---|
ReservedInstancesConfiguration() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The Availability Zone for the modified Reserved Instances.public ReservedInstancesConfiguration withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone for the modified Reserved Instances.public String getPlatform()
public void setPlatform(String platform)
platform
- The network platform of the modified Reserved Instances, which is
either EC2-Classic or EC2-VPC.public ReservedInstancesConfiguration withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
platform
- The network platform of the modified Reserved Instances, which is
either EC2-Classic or EC2-VPC.public Integer getInstanceCount()
public void setInstanceCount(Integer instanceCount)
instanceCount
- The number of modified Reserved Instances.public ReservedInstancesConfiguration withInstanceCount(Integer instanceCount)
Returns a reference to this object so that method calls can be chained together.
instanceCount
- The number of modified Reserved Instances.public String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type for the modified Reserved Instances.InstanceType
public ReservedInstancesConfiguration withInstanceType(String instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type for the modified Reserved Instances.InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type for the modified Reserved Instances.InstanceType
public ReservedInstancesConfiguration withInstanceType(InstanceType instanceType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, t2.micro, t2.small, t2.medium, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
instanceType
- The instance type for the modified Reserved Instances.InstanceType
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.