com.amazonaws.services.ec2.model
Class ReservedInstancesConfiguration

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ReservedInstancesConfiguration
All Implemented Interfaces:
Serializable

public class ReservedInstancesConfiguration
extends Object
implements Serializable

Describes the configuration settings for the modified Reserved Instances.

See Also:
Serialized Form

Constructor Summary
ReservedInstancesConfiguration()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReservedInstancesConfiguration

public ReservedInstancesConfiguration()
Method Detail

getAvailabilityZone

public String getAvailabilityZone()
The Availability Zone for the modified Reserved Instances.

Returns:
The Availability Zone for the modified Reserved Instances.

setAvailabilityZone

public void setAvailabilityZone(String availabilityZone)
The Availability Zone for the modified Reserved Instances.

Parameters:
availabilityZone - The Availability Zone for the modified Reserved Instances.

withAvailabilityZone

public ReservedInstancesConfiguration withAvailabilityZone(String availabilityZone)
The Availability Zone for the modified Reserved Instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - The Availability Zone for the modified Reserved Instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getPlatform

public String getPlatform()
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Returns:
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

setPlatform

public void setPlatform(String platform)
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Parameters:
platform - The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

withPlatform

public ReservedInstancesConfiguration withPlatform(String platform)
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.

Returns a reference to this object so that method calls can be chained together.

Parameters:
platform - The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceCount

public Integer getInstanceCount()
The number of modified Reserved Instances.

Returns:
The number of modified Reserved Instances.

setInstanceCount

public void setInstanceCount(Integer instanceCount)
The number of modified Reserved Instances.

Parameters:
instanceCount - The number of modified Reserved Instances.

withInstanceCount

public ReservedInstancesConfiguration withInstanceCount(Integer instanceCount)
The number of modified Reserved Instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceCount - The number of modified Reserved Instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceType

public String getInstanceType()
The instance type for the modified Reserved Instances.

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

Returns:
The instance type for the modified Reserved Instances.
See Also:
InstanceType

setInstanceType

public void setInstanceType(String instanceType)
The instance type for the modified Reserved Instances.

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

Parameters:
instanceType - The instance type for the modified Reserved Instances.
See Also:
InstanceType

withInstanceType

public ReservedInstancesConfiguration withInstanceType(String instanceType)
The instance type for the modified Reserved Instances.

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

Parameters:
instanceType - The instance type for the modified Reserved Instances.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceType

setInstanceType

public void setInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.

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

Parameters:
instanceType - The instance type for the modified Reserved Instances.
See Also:
InstanceType

withInstanceType

public ReservedInstancesConfiguration withInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.

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

Parameters:
instanceType - The instance type for the modified Reserved Instances.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceType

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.