@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PurchaseReservedInstanceOfferingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a PurchaseReservedInstanceOffering
operation.
Constructor and Description |
---|
PurchaseReservedInstanceOfferingResult() |
Modifier and Type | Method and Description |
---|---|
PurchaseReservedInstanceOfferingResult |
clone() |
boolean |
equals(Object obj) |
String |
getReservationName()
The customer-specified identifier used to track this reservation.
|
String |
getReservedInstanceId()
Details of the reserved OpenSearch instance which was purchased.
|
int |
hashCode() |
void |
setReservationName(String reservationName)
The customer-specified identifier used to track this reservation.
|
void |
setReservedInstanceId(String reservedInstanceId)
Details of the reserved OpenSearch instance which was purchased.
|
String |
toString()
Returns a string representation of this object.
|
PurchaseReservedInstanceOfferingResult |
withReservationName(String reservationName)
The customer-specified identifier used to track this reservation.
|
PurchaseReservedInstanceOfferingResult |
withReservedInstanceId(String reservedInstanceId)
Details of the reserved OpenSearch instance which was purchased.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public PurchaseReservedInstanceOfferingResult()
public void setReservedInstanceId(String reservedInstanceId)
Details of the reserved OpenSearch instance which was purchased.
reservedInstanceId
- Details of the reserved OpenSearch instance which was purchased.public String getReservedInstanceId()
Details of the reserved OpenSearch instance which was purchased.
public PurchaseReservedInstanceOfferingResult withReservedInstanceId(String reservedInstanceId)
Details of the reserved OpenSearch instance which was purchased.
reservedInstanceId
- Details of the reserved OpenSearch instance which was purchased.public void setReservationName(String reservationName)
The customer-specified identifier used to track this reservation.
reservationName
- The customer-specified identifier used to track this reservation.public String getReservationName()
The customer-specified identifier used to track this reservation.
public PurchaseReservedInstanceOfferingResult withReservationName(String reservationName)
The customer-specified identifier used to track this reservation.
reservationName
- The customer-specified identifier used to track this reservation.public String toString()
toString
in class Object
Object.toString()
public PurchaseReservedInstanceOfferingResult clone()