public class UpdateConstraintRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateConstraintRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateConstraintRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code to use for this operation.
|
String |
getDescription()
The updated text description of the constraint.
|
String |
getId()
The identifier of the constraint to update.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
void |
setDescription(String description)
The updated text description of the constraint.
|
void |
setId(String id)
The identifier of the constraint to update.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateConstraintRequest |
withAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
UpdateConstraintRequest |
withDescription(String description)
The updated text description of the constraint.
|
UpdateConstraintRequest |
withId(String id)
The identifier of the constraint to update.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAcceptLanguage(String acceptLanguage)
The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
acceptLanguage
- The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
public String getAcceptLanguage()
The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
public UpdateConstraintRequest withAcceptLanguage(String acceptLanguage)
The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
acceptLanguage
- The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
public void setId(String id)
The identifier of the constraint to update.
id
- The identifier of the constraint to update.public String getId()
The identifier of the constraint to update.
public UpdateConstraintRequest withId(String id)
The identifier of the constraint to update.
id
- The identifier of the constraint to update.public void setDescription(String description)
The updated text description of the constraint.
description
- The updated text description of the constraint.public String getDescription()
The updated text description of the constraint.
public UpdateConstraintRequest withDescription(String description)
The updated text description of the constraint.
description
- The updated text description of the constraint.public String toString()
toString
in class Object
Object.toString()
public UpdateConstraintRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.