@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PurchaseReservedInstancesOfferingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of PurchaseReservedInstancesOffering.
Constructor and Description |
---|
PurchaseReservedInstancesOfferingResult() |
Modifier and Type | Method and Description |
---|---|
PurchaseReservedInstancesOfferingResult |
clone() |
boolean |
equals(Object obj) |
String |
getReservedInstancesId()
The IDs of the purchased Reserved Instances.
|
int |
hashCode() |
void |
setReservedInstancesId(String reservedInstancesId)
The IDs of the purchased Reserved Instances.
|
String |
toString()
Returns a string representation of this object.
|
PurchaseReservedInstancesOfferingResult |
withReservedInstancesId(String reservedInstancesId)
The IDs of the purchased Reserved Instances.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public PurchaseReservedInstancesOfferingResult()
public void setReservedInstancesId(String reservedInstancesId)
The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted pricing tier, the final Reserved Instances IDs might change. For more information, see Crossing pricing tiers in the Amazon EC2 User Guide.
reservedInstancesId
- The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted pricing tier, the
final Reserved Instances IDs might change. For more information, see Crossing pricing tiers in the Amazon EC2 User Guide.public String getReservedInstancesId()
The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted pricing tier, the final Reserved Instances IDs might change. For more information, see Crossing pricing tiers in the Amazon EC2 User Guide.
public PurchaseReservedInstancesOfferingResult withReservedInstancesId(String reservedInstancesId)
The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted pricing tier, the final Reserved Instances IDs might change. For more information, see Crossing pricing tiers in the Amazon EC2 User Guide.
reservedInstancesId
- The IDs of the purchased Reserved Instances. If your purchase crosses into a discounted pricing tier, the
final Reserved Instances IDs might change. For more information, see Crossing pricing tiers in the Amazon EC2 User Guide.public String toString()
toString
in class Object
Object.toString()
public PurchaseReservedInstancesOfferingResult clone()