|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.ReservedInstancesConfiguration
public class ReservedInstancesConfiguration
Describes the configuration settings for the modified Reserved Instances.
| Constructor Summary | |
|---|---|
ReservedInstancesConfiguration()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAvailabilityZone()
The Availability Zone for the modified Reserved Instances. |
java.lang.Integer |
getInstanceCount()
The number of modified Reserved Instances. |
java.lang.String |
getInstanceType()
The instance type for the modified Reserved Instances. |
java.lang.String |
getPlatform()
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC. |
int |
hashCode()
|
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone for the modified Reserved Instances. |
void |
setInstanceCount(java.lang.Integer instanceCount)
The number of modified Reserved Instances. |
void |
setInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances. |
void |
setInstanceType(java.lang.String instanceType)
The instance type for the modified Reserved Instances. |
void |
setPlatform(java.lang.String platform)
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReservedInstancesConfiguration |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone for the modified Reserved Instances. |
ReservedInstancesConfiguration |
withInstanceCount(java.lang.Integer instanceCount)
The number of modified Reserved Instances. |
ReservedInstancesConfiguration |
withInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances. |
ReservedInstancesConfiguration |
withInstanceType(java.lang.String instanceType)
The instance type for the modified Reserved Instances. |
ReservedInstancesConfiguration |
withPlatform(java.lang.String platform)
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReservedInstancesConfiguration()
| Method Detail |
|---|
public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - The Availability Zone for the modified Reserved Instances.public ReservedInstancesConfiguration withAvailabilityZone(java.lang.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 java.lang.String getPlatform()
public void setPlatform(java.lang.String platform)
platform - The network platform of the modified Reserved Instances, which is
either EC2-Classic or EC2-VPC.public ReservedInstancesConfiguration withPlatform(java.lang.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 java.lang.Integer getInstanceCount()
public void setInstanceCount(java.lang.Integer instanceCount)
instanceCount - The number of modified Reserved Instances.public ReservedInstancesConfiguration withInstanceCount(java.lang.Integer instanceCount)
Returns a reference to this object so that method calls can be chained together.
instanceCount - The number of modified Reserved Instances.
public java.lang.String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, 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, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge
InstanceTypepublic void setInstanceType(java.lang.String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, 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, 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.InstanceTypepublic ReservedInstancesConfiguration withInstanceType(java.lang.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, 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, 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.
InstanceTypepublic 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, 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, 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.InstanceTypepublic 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, 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, 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.
InstanceTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||