@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateProductWithPortfolioRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssociateProductWithPortfolioRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssociateProductWithPortfolioRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code to use for this operation.
|
String |
getPortfolioId()
The portfolio identifier.
|
String |
getProductId()
The product identifier.
|
String |
getSourcePortfolioId()
The identifier of the source portfolio to use with this association.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
void |
setPortfolioId(String portfolioId)
The portfolio identifier.
|
void |
setProductId(String productId)
The product identifier.
|
void |
setSourcePortfolioId(String sourcePortfolioId)
The identifier of the source portfolio to use with this association.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AssociateProductWithPortfolioRequest |
withAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
AssociateProductWithPortfolioRequest |
withPortfolioId(String portfolioId)
The portfolio identifier.
|
AssociateProductWithPortfolioRequest |
withProductId(String productId)
The product identifier.
|
AssociateProductWithPortfolioRequest |
withSourcePortfolioId(String sourcePortfolioId)
The identifier of the source portfolio to use with this association.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic AssociateProductWithPortfolioRequest()
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 AssociateProductWithPortfolioRequest 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 setProductId(String productId)
The product identifier.
productId - The product identifier.public String getProductId()
The product identifier.
public AssociateProductWithPortfolioRequest withProductId(String productId)
The product identifier.
productId - The product identifier.public void setPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId - The portfolio identifier.public String getPortfolioId()
The portfolio identifier.
public AssociateProductWithPortfolioRequest withPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId - The portfolio identifier.public void setSourcePortfolioId(String sourcePortfolioId)
The identifier of the source portfolio to use with this association.
sourcePortfolioId - The identifier of the source portfolio to use with this association.public String getSourcePortfolioId()
The identifier of the source portfolio to use with this association.
public AssociateProductWithPortfolioRequest withSourcePortfolioId(String sourcePortfolioId)
The identifier of the source portfolio to use with this association.
sourcePortfolioId - The identifier of the source portfolio to use with this association.public String toString()
toString in class ObjectObject.toString()public AssociateProductWithPortfolioRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.