@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePreferencesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdatePreferencesRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdatePreferencesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getMemberAccountDiscountVisibility()
Sets the "member account discount visibility" preference.
|
String |
getSavingsEstimationMode()
Sets the "savings estimation mode" preference.
|
int |
hashCode() |
void |
setMemberAccountDiscountVisibility(String memberAccountDiscountVisibility)
Sets the "member account discount visibility" preference.
|
void |
setSavingsEstimationMode(String savingsEstimationMode)
Sets the "savings estimation mode" preference.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePreferencesRequest |
withMemberAccountDiscountVisibility(MemberAccountDiscountVisibility memberAccountDiscountVisibility)
Sets the "member account discount visibility" preference.
|
UpdatePreferencesRequest |
withMemberAccountDiscountVisibility(String memberAccountDiscountVisibility)
Sets the "member account discount visibility" preference.
|
UpdatePreferencesRequest |
withSavingsEstimationMode(SavingsEstimationMode savingsEstimationMode)
Sets the "savings estimation mode" preference.
|
UpdatePreferencesRequest |
withSavingsEstimationMode(String savingsEstimationMode)
Sets the "savings estimation mode" preference.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setSavingsEstimationMode(String savingsEstimationMode)
Sets the "savings estimation mode" preference.
savingsEstimationMode - Sets the "savings estimation mode" preference.SavingsEstimationModepublic String getSavingsEstimationMode()
Sets the "savings estimation mode" preference.
SavingsEstimationModepublic UpdatePreferencesRequest withSavingsEstimationMode(String savingsEstimationMode)
Sets the "savings estimation mode" preference.
savingsEstimationMode - Sets the "savings estimation mode" preference.SavingsEstimationModepublic UpdatePreferencesRequest withSavingsEstimationMode(SavingsEstimationMode savingsEstimationMode)
Sets the "savings estimation mode" preference.
savingsEstimationMode - Sets the "savings estimation mode" preference.SavingsEstimationModepublic void setMemberAccountDiscountVisibility(String memberAccountDiscountVisibility)
Sets the "member account discount visibility" preference.
memberAccountDiscountVisibility - Sets the "member account discount visibility" preference.MemberAccountDiscountVisibilitypublic String getMemberAccountDiscountVisibility()
Sets the "member account discount visibility" preference.
MemberAccountDiscountVisibilitypublic UpdatePreferencesRequest withMemberAccountDiscountVisibility(String memberAccountDiscountVisibility)
Sets the "member account discount visibility" preference.
memberAccountDiscountVisibility - Sets the "member account discount visibility" preference.MemberAccountDiscountVisibilitypublic UpdatePreferencesRequest withMemberAccountDiscountVisibility(MemberAccountDiscountVisibility memberAccountDiscountVisibility)
Sets the "member account discount visibility" preference.
memberAccountDiscountVisibility - Sets the "member account discount visibility" preference.MemberAccountDiscountVisibilitypublic String toString()
toString in class ObjectObject.toString()public UpdatePreferencesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()