@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code.
|
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.
|
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.
|
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, 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 AssociateProductWithPortfolioRequest()
public void setAcceptLanguage(String acceptLanguage)
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
public String getAcceptLanguage()
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
en
- English (default)
jp
- Japanese
zh
- Chinese
public AssociateProductWithPortfolioRequest withAcceptLanguage(String acceptLanguage)
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
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 Object
Object.toString()
public AssociateProductWithPortfolioRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.