@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2ResourceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details on the Amazon EC2 Resource.
Constructor and Description |
---|
EC2ResourceDetails() |
Modifier and Type | Method and Description |
---|---|
EC2ResourceDetails |
clone() |
boolean |
equals(Object obj) |
String |
getHourlyOnDemandRate()
Hourly public On Demand rate for the instance type.
|
String |
getInstanceType()
The type of Amazon Web Services instance.
|
String |
getMemory()
Memory capacity of Amazon Web Services instance.
|
String |
getNetworkPerformance()
Network performance capacity of the Amazon Web Services instance.
|
String |
getPlatform()
The platform of the Amazon Web Services instance.
|
String |
getRegion()
The Amazon Web Services Region of the instance.
|
String |
getSku()
The SKU of the product.
|
String |
getStorage()
The disk storage of the Amazon Web Services instance (Not EBS storage).
|
String |
getVcpu()
Number of VCPU cores in the Amazon Web Services instance type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHourlyOnDemandRate(String hourlyOnDemandRate)
Hourly public On Demand rate for the instance type.
|
void |
setInstanceType(String instanceType)
The type of Amazon Web Services instance.
|
void |
setMemory(String memory)
Memory capacity of Amazon Web Services instance.
|
void |
setNetworkPerformance(String networkPerformance)
Network performance capacity of the Amazon Web Services instance.
|
void |
setPlatform(String platform)
The platform of the Amazon Web Services instance.
|
void |
setRegion(String region)
The Amazon Web Services Region of the instance.
|
void |
setSku(String sku)
The SKU of the product.
|
void |
setStorage(String storage)
The disk storage of the Amazon Web Services instance (Not EBS storage).
|
void |
setVcpu(String vcpu)
Number of VCPU cores in the Amazon Web Services instance type.
|
String |
toString()
Returns a string representation of this object.
|
EC2ResourceDetails |
withHourlyOnDemandRate(String hourlyOnDemandRate)
Hourly public On Demand rate for the instance type.
|
EC2ResourceDetails |
withInstanceType(String instanceType)
The type of Amazon Web Services instance.
|
EC2ResourceDetails |
withMemory(String memory)
Memory capacity of Amazon Web Services instance.
|
EC2ResourceDetails |
withNetworkPerformance(String networkPerformance)
Network performance capacity of the Amazon Web Services instance.
|
EC2ResourceDetails |
withPlatform(String platform)
The platform of the Amazon Web Services instance.
|
EC2ResourceDetails |
withRegion(String region)
The Amazon Web Services Region of the instance.
|
EC2ResourceDetails |
withSku(String sku)
The SKU of the product.
|
EC2ResourceDetails |
withStorage(String storage)
The disk storage of the Amazon Web Services instance (Not EBS storage).
|
EC2ResourceDetails |
withVcpu(String vcpu)
Number of VCPU cores in the Amazon Web Services instance type.
|
public void setHourlyOnDemandRate(String hourlyOnDemandRate)
Hourly public On Demand rate for the instance type.
hourlyOnDemandRate
- Hourly public On Demand rate for the instance type.public String getHourlyOnDemandRate()
Hourly public On Demand rate for the instance type.
public EC2ResourceDetails withHourlyOnDemandRate(String hourlyOnDemandRate)
Hourly public On Demand rate for the instance type.
hourlyOnDemandRate
- Hourly public On Demand rate for the instance type.public void setInstanceType(String instanceType)
The type of Amazon Web Services instance.
instanceType
- The type of Amazon Web Services instance.public String getInstanceType()
The type of Amazon Web Services instance.
public EC2ResourceDetails withInstanceType(String instanceType)
The type of Amazon Web Services instance.
instanceType
- The type of Amazon Web Services instance.public void setPlatform(String platform)
The platform of the Amazon Web Services instance. The platform is the specific combination of operating system, license model, and software on an instance.
platform
- The platform of the Amazon Web Services instance. The platform is the specific combination of operating
system, license model, and software on an instance.public String getPlatform()
The platform of the Amazon Web Services instance. The platform is the specific combination of operating system, license model, and software on an instance.
public EC2ResourceDetails withPlatform(String platform)
The platform of the Amazon Web Services instance. The platform is the specific combination of operating system, license model, and software on an instance.
platform
- The platform of the Amazon Web Services instance. The platform is the specific combination of operating
system, license model, and software on an instance.public void setRegion(String region)
The Amazon Web Services Region of the instance.
region
- The Amazon Web Services Region of the instance.public String getRegion()
The Amazon Web Services Region of the instance.
public EC2ResourceDetails withRegion(String region)
The Amazon Web Services Region of the instance.
region
- The Amazon Web Services Region of the instance.public void setSku(String sku)
The SKU of the product.
sku
- The SKU of the product.public String getSku()
The SKU of the product.
public EC2ResourceDetails withSku(String sku)
The SKU of the product.
sku
- The SKU of the product.public void setMemory(String memory)
Memory capacity of Amazon Web Services instance.
memory
- Memory capacity of Amazon Web Services instance.public String getMemory()
Memory capacity of Amazon Web Services instance.
public EC2ResourceDetails withMemory(String memory)
Memory capacity of Amazon Web Services instance.
memory
- Memory capacity of Amazon Web Services instance.public void setNetworkPerformance(String networkPerformance)
Network performance capacity of the Amazon Web Services instance.
networkPerformance
- Network performance capacity of the Amazon Web Services instance.public String getNetworkPerformance()
Network performance capacity of the Amazon Web Services instance.
public EC2ResourceDetails withNetworkPerformance(String networkPerformance)
Network performance capacity of the Amazon Web Services instance.
networkPerformance
- Network performance capacity of the Amazon Web Services instance.public void setStorage(String storage)
The disk storage of the Amazon Web Services instance (Not EBS storage).
storage
- The disk storage of the Amazon Web Services instance (Not EBS storage).public String getStorage()
The disk storage of the Amazon Web Services instance (Not EBS storage).
public EC2ResourceDetails withStorage(String storage)
The disk storage of the Amazon Web Services instance (Not EBS storage).
storage
- The disk storage of the Amazon Web Services instance (Not EBS storage).public void setVcpu(String vcpu)
Number of VCPU cores in the Amazon Web Services instance type.
vcpu
- Number of VCPU cores in the Amazon Web Services instance type.public String getVcpu()
Number of VCPU cores in the Amazon Web Services instance type.
public EC2ResourceDetails withVcpu(String vcpu)
Number of VCPU cores in the Amazon Web Services instance type.
vcpu
- Number of VCPU cores in the Amazon Web Services instance type.public String toString()
toString
in class Object
Object.toString()
public EC2ResourceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.