@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2Specification extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon EC2 hardware specifications that you want Amazon Web Services to provide recommendations for.
| Constructor and Description |
|---|
EC2Specification() |
| Modifier and Type | Method and Description |
|---|---|
EC2Specification |
clone() |
boolean |
equals(Object obj) |
String |
getOfferingClass()
Indicates whether you want a recommendation for standard or convertible reservations.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setOfferingClass(String offeringClass)
Indicates whether you want a recommendation for standard or convertible reservations.
|
String |
toString()
Returns a string representation of this object.
|
EC2Specification |
withOfferingClass(OfferingClass offeringClass)
Indicates whether you want a recommendation for standard or convertible reservations.
|
EC2Specification |
withOfferingClass(String offeringClass)
Indicates whether you want a recommendation for standard or convertible reservations.
|
public void setOfferingClass(String offeringClass)
Indicates whether you want a recommendation for standard or convertible reservations.
offeringClass - Indicates whether you want a recommendation for standard or convertible reservations.OfferingClasspublic String getOfferingClass()
Indicates whether you want a recommendation for standard or convertible reservations.
OfferingClasspublic EC2Specification withOfferingClass(String offeringClass)
Indicates whether you want a recommendation for standard or convertible reservations.
offeringClass - Indicates whether you want a recommendation for standard or convertible reservations.OfferingClasspublic EC2Specification withOfferingClass(OfferingClass offeringClass)
Indicates whether you want a recommendation for standard or convertible reservations.
offeringClass - Indicates whether you want a recommendation for standard or convertible reservations.OfferingClasspublic String toString()
toString in class ObjectObject.toString()public EC2Specification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.