@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeProductRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeProductRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeProductRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code to use for this operation.
|
String |
getId()
The
ProductId of the product to describe. |
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
void |
setId(String id)
The
ProductId of the product to describe. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeProductRequest |
withAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
DescribeProductRequest |
withId(String id)
The
ProductId of the product to describe. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, 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 DescribeProductRequest 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 ProductId
of the product to describe.
id
- The ProductId
of the product to describe.public String getId()
The ProductId
of the product to describe.
ProductId
of the product to describe.public DescribeProductRequest withId(String id)
The ProductId
of the product to describe.
id
- The ProductId
of the product to describe.public String toString()
toString
in class Object
Object.toString()
public DescribeProductRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.