@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 EC2 User Guide.
instanceType
- The instance type. For more information, see Instance types in the
Amazon EC2 User Guide.InstanceType
public String getInstanceType()
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
InstanceType
public InstanceTypeOffering withInstanceType(String instanceType)
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
instanceType
- The instance type. For more information, see Instance types in the
Amazon EC2 User Guide.InstanceType
public InstanceTypeOffering withInstanceType(InstanceType instanceType)
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
instanceType
- The instance type. For more information, see Instance types in the
Amazon EC2 User Guide.InstanceType
public void setLocationType(String locationType)
The location type.
locationType
- The location type.LocationType
public String getLocationType()
The location type.
LocationType
public InstanceTypeOffering withLocationType(String locationType)
The location type.
locationType
- The location type.LocationType
public InstanceTypeOffering withLocationType(LocationType locationType)
The location type.
locationType
- The location type.LocationType
public 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 Object
Object.toString()
public InstanceTypeOffering clone()