@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePortfolioShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePortfolioShareRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePortfolioShareRequest |
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 |
getAccountId()
The account ID with which to share the portfolio.
|
String |
getPortfolioId()
The portfolio identifier.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setAccountId(String accountId)
The account ID with which to share the portfolio.
|
void |
setPortfolioId(String portfolioId)
The portfolio identifier.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreatePortfolioShareRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
CreatePortfolioShareRequest |
withAccountId(String accountId)
The account ID with which to share the portfolio.
|
CreatePortfolioShareRequest |
withPortfolioId(String portfolioId)
The portfolio identifier.
|
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.
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 CreatePortfolioShareRequest 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 setPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId
- The portfolio identifier.public String getPortfolioId()
The portfolio identifier.
public CreatePortfolioShareRequest withPortfolioId(String portfolioId)
The portfolio identifier.
portfolioId
- The portfolio identifier.public void setAccountId(String accountId)
The account ID with which to share the portfolio.
accountId
- The account ID with which to share the portfolio.public String getAccountId()
The account ID with which to share the portfolio.
public CreatePortfolioShareRequest withAccountId(String accountId)
The account ID with which to share the portfolio.
accountId
- The account ID with which to share the portfolio.public String toString()
toString
in class Object
Object.toString()
public CreatePortfolioShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.