@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeProductAsAdminRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeProductAsAdminRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeProductAsAdminRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code.
|
String |
getId()
The product identifier.
|
String |
getName()
The product name.
|
String |
getSourcePortfolioId()
The unique identifier of the shared portfolio that the specified product is associated with.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setId(String id)
The product identifier.
|
void |
setName(String name)
The product name.
|
void |
setSourcePortfolioId(String sourcePortfolioId)
The unique identifier of the shared portfolio that the specified product is associated with.
|
String |
toString()
Returns a string representation of this object.
|
DescribeProductAsAdminRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
DescribeProductAsAdminRequest |
withId(String id)
The product identifier.
|
DescribeProductAsAdminRequest |
withName(String name)
The product name.
|
DescribeProductAsAdminRequest |
withSourcePortfolioId(String sourcePortfolioId)
The unique identifier of the shared portfolio that the specified product is associated with.
|
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 setAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
jp
- Japanese
zh
- Chinese
public String getAcceptLanguage()
The language code.
jp
- Japanese
zh
- Chinese
jp
- Japanese
zh
- Chinese
public DescribeProductAsAdminRequest withAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
jp
- Japanese
zh
- Chinese
public void setId(String id)
The product identifier.
id
- The product identifier.public String getId()
The product identifier.
public DescribeProductAsAdminRequest withId(String id)
The product identifier.
id
- The product identifier.public void setName(String name)
The product name.
name
- The product name.public String getName()
The product name.
public DescribeProductAsAdminRequest withName(String name)
The product name.
name
- The product name.public void setSourcePortfolioId(String sourcePortfolioId)
The unique identifier of the shared portfolio that the specified product is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
sourcePortfolioId
- The unique identifier of the shared portfolio that the specified product is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
public String getSourcePortfolioId()
The unique identifier of the shared portfolio that the specified product is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
public DescribeProductAsAdminRequest withSourcePortfolioId(String sourcePortfolioId)
The unique identifier of the shared portfolio that the specified product is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
sourcePortfolioId
- The unique identifier of the shared portfolio that the specified product is associated with.
You can provide this parameter to retrieve the shared TagOptions associated with the product. If this parameter is provided and if TagOptions sharing is enabled in the portfolio share, the API returns both local and shared TagOptions associated with the product. Otherwise only local TagOptions will be returned.
public String toString()
toString
in class Object
Object.toString()
public DescribeProductAsAdminRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()