@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PurchaseOfferingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PurchaseOfferingResult() |
Modifier and Type | Method and Description |
---|---|
PurchaseOfferingResult |
clone() |
boolean |
equals(Object obj) |
Reservation |
getReservation() |
int |
hashCode() |
void |
setReservation(Reservation reservation) |
String |
toString()
Returns a string representation of this object.
|
PurchaseOfferingResult |
withReservation(Reservation reservation) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setReservation(Reservation reservation)
reservation
- public Reservation getReservation()
public PurchaseOfferingResult withReservation(Reservation reservation)
reservation
- public String toString()
toString
in class Object
Object.toString()
public PurchaseOfferingResult clone()