@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, withSdkRequestTimeout
public void setSavingsEstimationMode(String savingsEstimationMode)
Sets the "savings estimation mode" preference.
savingsEstimationMode
- Sets the "savings estimation mode" preference.SavingsEstimationMode
public String getSavingsEstimationMode()
Sets the "savings estimation mode" preference.
SavingsEstimationMode
public UpdatePreferencesRequest withSavingsEstimationMode(String savingsEstimationMode)
Sets the "savings estimation mode" preference.
savingsEstimationMode
- Sets the "savings estimation mode" preference.SavingsEstimationMode
public UpdatePreferencesRequest withSavingsEstimationMode(SavingsEstimationMode savingsEstimationMode)
Sets the "savings estimation mode" preference.
savingsEstimationMode
- Sets the "savings estimation mode" preference.SavingsEstimationMode
public void setMemberAccountDiscountVisibility(String memberAccountDiscountVisibility)
Sets the "member account discount visibility" preference.
memberAccountDiscountVisibility
- Sets the "member account discount visibility" preference.MemberAccountDiscountVisibility
public String getMemberAccountDiscountVisibility()
Sets the "member account discount visibility" preference.
MemberAccountDiscountVisibility
public UpdatePreferencesRequest withMemberAccountDiscountVisibility(String memberAccountDiscountVisibility)
Sets the "member account discount visibility" preference.
memberAccountDiscountVisibility
- Sets the "member account discount visibility" preference.MemberAccountDiscountVisibility
public UpdatePreferencesRequest withMemberAccountDiscountVisibility(MemberAccountDiscountVisibility memberAccountDiscountVisibility)
Sets the "member account discount visibility" preference.
memberAccountDiscountVisibility
- Sets the "member account discount visibility" preference.MemberAccountDiscountVisibility
public String toString()
toString
in class Object
Object.toString()
public UpdatePreferencesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()