@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 description of the portfolio.
|
String |
getDisplayName()
The name to use for display purposes.
|
String |
getIdempotencyToken()
A unique identifier that you provide to ensure idempotency.
|
String |
getProviderName()
The name of the portfolio provider.
|
List<Tag> |
getTags()
One or more tags.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setDescription(String description)
The description of the portfolio.
|
void |
setDisplayName(String displayName)
The name to use for display purposes.
|
void |
setIdempotencyToken(String idempotencyToken)
A unique identifier that you provide to ensure idempotency.
|
void |
setProviderName(String providerName)
The name of the portfolio provider.
|
void |
setTags(Collection<Tag> tags)
One or more tags.
|
String |
toString()
Returns a string representation of this object.
|
CreatePortfolioRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
CreatePortfolioRequest |
withDescription(String description)
The description of the portfolio.
|
CreatePortfolioRequest |
withDisplayName(String displayName)
The name to use for display purposes.
|
CreatePortfolioRequest |
withIdempotencyToken(String idempotencyToken)
A unique identifier that you provide to ensure idempotency.
|
CreatePortfolioRequest |
withProviderName(String providerName)
The name of the portfolio provider.
|
CreatePortfolioRequest |
withTags(Collection<Tag> tags)
One or more tags.
|
CreatePortfolioRequest |
withTags(Tag... tags)
One or more tags.
|
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.
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 CreatePortfolioRequest withAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
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 description of the portfolio.
description
- The description of the portfolio.public String getDescription()
The description of the portfolio.
public CreatePortfolioRequest withDescription(String description)
The description of the portfolio.
description
- The 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 void setTags(Collection<Tag> tags)
One or more tags.
tags
- One or more tags.public CreatePortfolioRequest withTags(Tag... tags)
One or more tags.
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
- One or more tags.public CreatePortfolioRequest withTags(Collection<Tag> tags)
One or more tags.
tags
- One or more tags.public void setIdempotencyToken(String idempotencyToken)
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
idempotencyToken
- A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the
idempotency token, the same response is returned for each repeated request.public String getIdempotencyToken()
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
public CreatePortfolioRequest withIdempotencyToken(String idempotencyToken)
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
idempotencyToken
- A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the
idempotency token, the same response is returned for each repeated request.public String toString()
toString
in class Object
Object.toString()
public CreatePortfolioRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()