@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.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
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.
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 AssociateProductWithPortfolioRequest withAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
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.
sourcePortfolioId
- The identifier of the source portfolio.public String getSourcePortfolioId()
The identifier of the source portfolio.
public AssociateProductWithPortfolioRequest withSourcePortfolioId(String sourcePortfolioId)
The identifier of the source portfolio.
sourcePortfolioId
- The identifier of the source portfolio.public String toString()
toString
in class Object
Object.toString()
public AssociateProductWithPortfolioRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()