@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
|
String |
getScope()
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
|
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.
|
void |
setScope(Scope scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
|
void |
setScope(String scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
ReservedInstancesConfiguration |
withScope(Scope scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
|
ReservedInstancesConfiguration |
withScope(String scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
|
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 setInstanceCount(Integer instanceCount)
The number of modified Reserved Instances.
This is a required field for a request.
instanceCount
- The number of modified Reserved Instances. This is a required field for a request.
public Integer getInstanceCount()
The number of modified Reserved Instances.
This is a required field for a request.
This is a required field for a request.
public ReservedInstancesConfiguration withInstanceCount(Integer instanceCount)
The number of modified Reserved Instances.
This is a required field for a request.
instanceCount
- The number of modified Reserved Instances. This is a required field for a request.
public void setInstanceType(String instanceType)
The instance type for the modified Reserved Instances.
instanceType
- The instance type for the modified Reserved Instances.InstanceType
public String getInstanceType()
The instance type for the modified Reserved Instances.
InstanceType
public ReservedInstancesConfiguration withInstanceType(String instanceType)
The instance type for the modified Reserved Instances.
instanceType
- The instance type for the modified Reserved Instances.InstanceType
public void setInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.
instanceType
- The instance type for the modified Reserved Instances.InstanceType
public ReservedInstancesConfiguration withInstanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.
instanceType
- The instance type for the modified Reserved Instances.InstanceType
public void setPlatform(String platform)
The network platform of the modified Reserved Instances.
platform
- The network platform of the modified Reserved Instances.public String getPlatform()
The network platform of the modified Reserved Instances.
public ReservedInstancesConfiguration withPlatform(String platform)
The network platform of the modified Reserved Instances.
platform
- The network platform of the modified Reserved Instances.public void setScope(String scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
scope
- Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability
Zone.Scope
public String getScope()
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
Scope
public ReservedInstancesConfiguration withScope(String scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
scope
- Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability
Zone.Scope
public void setScope(Scope scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
scope
- Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability
Zone.Scope
public ReservedInstancesConfiguration withScope(Scope scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
scope
- Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability
Zone.Scope
public String toString()
toString
in class Object
Object.toString()
public ReservedInstancesConfiguration clone()