Class ReservedInstancesConfiguration
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the configuration settings for the modified Reserved Instances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Availability Zone for the modified Reserved Instances.The number of modified Reserved Instances.The instance type for the modified Reserved Instances.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZone
(String availabilityZone) The Availability Zone for the modified Reserved Instances.withInstanceCount
(Integer instanceCount) The number of modified Reserved Instances.withInstanceType
(InstanceType instanceType) The instance type for the modified Reserved Instances.withInstanceType
(String instanceType) The instance type for the modified Reserved Instances.withPlatform
(String platform) The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
-
Constructor Details
-
ReservedInstancesConfiguration
public ReservedInstancesConfiguration()
-
-
Method Details
-
setAvailabilityZone
The Availability Zone for the modified Reserved Instances.
- Parameters:
availabilityZone
- The Availability Zone for the modified Reserved Instances.
-
getAvailabilityZone
The Availability Zone for the modified Reserved Instances.
- Returns:
- The Availability Zone for the modified Reserved Instances.
-
withAvailabilityZone
The Availability Zone for the modified Reserved Instances.
- Parameters:
availabilityZone
- The Availability Zone for the modified Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPlatform
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.
-
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.
-
withPlatform
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceCount
The number of modified Reserved Instances.
- Parameters:
instanceCount
- The number of modified Reserved Instances.
-
getInstanceCount
The number of modified Reserved Instances.
- Returns:
- The number of modified Reserved Instances.
-
withInstanceCount
The number of modified Reserved Instances.
- Parameters:
instanceCount
- The number of modified Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceType
The instance type for the modified Reserved Instances.
- Parameters:
instanceType
- The instance type for the modified Reserved Instances.- See Also:
-
getInstanceType
The instance type for the modified Reserved Instances.
- Returns:
- The instance type for the modified Reserved Instances.
- See Also:
-
withInstanceType
The instance type for the modified Reserved Instances.
- Parameters:
instanceType
- The instance type for the modified Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setInstanceType
The instance type for the modified Reserved Instances.
- Parameters:
instanceType
- The instance type for the modified Reserved Instances.- See Also:
-
withInstanceType
The instance type for the modified Reserved Instances.
- Parameters:
instanceType
- The instance type for the modified Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-