@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code.
|
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.
|
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.
|
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, 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 CreatePortfolioRequest 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 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 use 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 use 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 use 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 use 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 use the same input in multiple requests, provided that
you also specify a different idempotency token for each request.public String toString()
toString
in class Object
Object.toString()
public CreatePortfolioRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.