@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceTypeOffering extends Object implements Serializable, Cloneable
The instance types offered.
| Constructor and Description |
|---|
InstanceTypeOffering() |
| Modifier and Type | Method and Description |
|---|---|
InstanceTypeOffering |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceType()
The instance type.
|
String |
getLocation()
The identifier for the location.
|
String |
getLocationType()
The location type.
|
int |
hashCode() |
void |
setInstanceType(String instanceType)
The instance type.
|
void |
setLocation(String location)
The identifier for the location.
|
void |
setLocationType(String locationType)
The location type.
|
String |
toString()
Returns a string representation of this object.
|
InstanceTypeOffering |
withInstanceType(InstanceType instanceType)
The instance type.
|
InstanceTypeOffering |
withInstanceType(String instanceType)
The instance type.
|
InstanceTypeOffering |
withLocation(String location)
The identifier for the location.
|
InstanceTypeOffering |
withLocationType(LocationType locationType)
The location type.
|
InstanceTypeOffering |
withLocationType(String locationType)
The location type.
|
public void setInstanceType(String instanceType)
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
instanceType - The instance type. For more information, see Instance Types in the
Amazon Elastic Compute Cloud User Guide.InstanceTypepublic String getInstanceType()
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
InstanceTypepublic InstanceTypeOffering withInstanceType(String instanceType)
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
instanceType - The instance type. For more information, see Instance Types in the
Amazon Elastic Compute Cloud User Guide.InstanceTypepublic InstanceTypeOffering withInstanceType(InstanceType instanceType)
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
instanceType - The instance type. For more information, see Instance Types in the
Amazon Elastic Compute Cloud User Guide.InstanceTypepublic void setLocationType(String locationType)
The location type.
locationType - The location type.LocationTypepublic String getLocationType()
The location type.
LocationTypepublic InstanceTypeOffering withLocationType(String locationType)
The location type.
locationType - The location type.LocationTypepublic InstanceTypeOffering withLocationType(LocationType locationType)
The location type.
locationType - The location type.LocationTypepublic void setLocation(String location)
The identifier for the location. This depends on the location type. For example, if the location type is
region, the location is the Region code (for example, us-east-2.)
location - The identifier for the location. This depends on the location type. For example, if the location type is
region, the location is the Region code (for example, us-east-2.)public String getLocation()
The identifier for the location. This depends on the location type. For example, if the location type is
region, the location is the Region code (for example, us-east-2.)
region, the location is the Region code (for example, us-east-2.)public InstanceTypeOffering withLocation(String location)
The identifier for the location. This depends on the location type. For example, if the location type is
region, the location is the Region code (for example, us-east-2.)
location - The identifier for the location. This depends on the location type. For example, if the location type is
region, the location is the Region code (for example, us-east-2.)public String toString()
toString in class ObjectObject.toString()public InstanceTypeOffering clone()