@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 to use for this operation.
|
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 to use for this operation.
|
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 to use for this operation.
|
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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreatePortfolioShareRequest 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 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.