@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePortfolioRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreatePortfolioRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreatePortfolioRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code to use for this operation.
|
String |
getDescription()
The text description of the portfolio.
|
String |
getDisplayName()
The name to use for display purposes.
|
String |
getIdempotencyToken()
A token to disambiguate duplicate requests.
|
String |
getProviderName()
The name of the portfolio provider.
|
List<Tag> |
getTags()
Tags to associate with the new portfolio.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
void |
setDescription(String description)
The text description of the portfolio.
|
void |
setDisplayName(String displayName)
The name to use for display purposes.
|
void |
setIdempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests.
|
void |
setProviderName(String providerName)
The name of the portfolio provider.
|
void |
setTags(Collection<Tag> tags)
Tags to associate with the new portfolio.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreatePortfolioRequest |
withAcceptLanguage(String acceptLanguage)
The language code to use for this operation.
|
CreatePortfolioRequest |
withDescription(String description)
The text description of the portfolio.
|
CreatePortfolioRequest |
withDisplayName(String displayName)
The name to use for display purposes.
|
CreatePortfolioRequest |
withIdempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests.
|
CreatePortfolioRequest |
withProviderName(String providerName)
The name of the portfolio provider.
|
CreatePortfolioRequest |
withTags(Collection<Tag> tags)
Tags to associate with the new portfolio.
|
CreatePortfolioRequest |
withTags(Tag... tags)
Tags to associate with the new portfolio.
|
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 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 CreatePortfolioRequest 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 setDisplayName(String displayName)
The name to use for display purposes.
displayName - The name to use for display purposes.public String getDisplayName()
The name to use for display purposes.
public CreatePortfolioRequest withDisplayName(String displayName)
The name to use for display purposes.
displayName - The name to use for display purposes.public void setDescription(String description)
The text description of the portfolio.
description - The text description of the portfolio.public String getDescription()
The text description of the portfolio.
public CreatePortfolioRequest withDescription(String description)
The text description of the portfolio.
description - The text description of the portfolio.public void setProviderName(String providerName)
The name of the portfolio provider.
providerName - The name of the portfolio provider.public String getProviderName()
The name of the portfolio provider.
public CreatePortfolioRequest withProviderName(String providerName)
The name of the portfolio provider.
providerName - The name of the portfolio provider.public List<Tag> getTags()
Tags to associate with the new portfolio.
public void setTags(Collection<Tag> tags)
Tags to associate with the new portfolio.
tags - Tags to associate with the new portfolio.public CreatePortfolioRequest withTags(Tag... tags)
Tags to associate with the new portfolio.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - Tags to associate with the new portfolio.public CreatePortfolioRequest withTags(Collection<Tag> tags)
Tags to associate with the new portfolio.
tags - Tags to associate with the new portfolio.public void setIdempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.
idempotencyToken - A token to disambiguate duplicate requests. You can create multiple resources using the same input in
multiple requests, provided that you also specify a different idempotency token for each request.public String getIdempotencyToken()
A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.
public CreatePortfolioRequest withIdempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.
idempotencyToken - A token to disambiguate duplicate requests. You can create multiple resources using the same input in
multiple requests, provided that you also specify a different idempotency token for each request.public String toString()
toString in class ObjectObject.toString()public CreatePortfolioRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.