@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Consent extends Object implements Serializable, Cloneable, StructuredPojo
Customer's consent for the owner change request.
Constructor and Description |
---|
Consent() |
Modifier and Type | Method and Description |
---|---|
Consent |
clone() |
boolean |
equals(Object obj) |
String |
getCurrency()
Currency for the
MaxPrice . |
Double |
getMaxPrice()
Maximum amount the customer agreed to accept.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrency(String currency)
Currency for the
MaxPrice . |
void |
setMaxPrice(Double maxPrice)
Maximum amount the customer agreed to accept.
|
String |
toString()
Returns a string representation of this object.
|
Consent |
withCurrency(String currency)
Currency for the
MaxPrice . |
Consent |
withMaxPrice(Double maxPrice)
Maximum amount the customer agreed to accept.
|
public void setMaxPrice(Double maxPrice)
Maximum amount the customer agreed to accept.
maxPrice
- Maximum amount the customer agreed to accept.public Double getMaxPrice()
Maximum amount the customer agreed to accept.
public Consent withMaxPrice(Double maxPrice)
Maximum amount the customer agreed to accept.
maxPrice
- Maximum amount the customer agreed to accept.public void setCurrency(String currency)
Currency for the MaxPrice
.
currency
- Currency for the MaxPrice
.public String getCurrency()
Currency for the MaxPrice
.
MaxPrice
.public Consent withCurrency(String currency)
Currency for the MaxPrice
.
currency
- Currency for the MaxPrice
.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.