@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePortfolioRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePortfolioRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePortfolioRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAcceptLanguage()
The language code.
|
List<Tag> |
getAddTags()
Tags to add to the existing list of tags associated with the portfolio.
|
String |
getDescription()
The updated text description of the portfolio.
|
String |
getDisplayName()
The name to use for display purposes.
|
String |
getId()
The identifier of the portfolio for the update request.
|
String |
getProviderName()
The updated name of the portfolio provider.
|
List<String> |
getRemoveTags()
Tags to remove from the existing list of tags associated with the portfolio.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setAddTags(Collection<Tag> addTags)
Tags to add to the existing list of tags associated with the portfolio.
|
void |
setDescription(String description)
The updated text description of the portfolio.
|
void |
setDisplayName(String displayName)
The name to use for display purposes.
|
void |
setId(String id)
The identifier of the portfolio for the update request.
|
void |
setProviderName(String providerName)
The updated name of the portfolio provider.
|
void |
setRemoveTags(Collection<String> removeTags)
Tags to remove from the existing list of tags associated with the portfolio.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdatePortfolioRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
UpdatePortfolioRequest |
withAddTags(Collection<Tag> addTags)
Tags to add to the existing list of tags associated with the portfolio.
|
UpdatePortfolioRequest |
withAddTags(Tag... addTags)
Tags to add to the existing list of tags associated with the portfolio.
|
UpdatePortfolioRequest |
withDescription(String description)
The updated text description of the portfolio.
|
UpdatePortfolioRequest |
withDisplayName(String displayName)
The name to use for display purposes.
|
UpdatePortfolioRequest |
withId(String id)
The identifier of the portfolio for the update request.
|
UpdatePortfolioRequest |
withProviderName(String providerName)
The updated name of the portfolio provider.
|
UpdatePortfolioRequest |
withRemoveTags(Collection<String> removeTags)
Tags to remove from the existing list of tags associated with the portfolio.
|
UpdatePortfolioRequest |
withRemoveTags(String... removeTags)
Tags to remove from the existing list of tags associated with the 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 UpdatePortfolioRequest 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 setId(String id)
The identifier of the portfolio for the update request.
id
- The identifier of the portfolio for the update request.public String getId()
The identifier of the portfolio for the update request.
public UpdatePortfolioRequest withId(String id)
The identifier of the portfolio for the update request.
id
- The identifier of the portfolio for the update request.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 UpdatePortfolioRequest withDisplayName(String displayName)
The name to use for display purposes.
displayName
- The name to use for display purposes.public void setDescription(String description)
The updated text description of the portfolio.
description
- The updated text description of the portfolio.public String getDescription()
The updated text description of the portfolio.
public UpdatePortfolioRequest withDescription(String description)
The updated text description of the portfolio.
description
- The updated text description of the portfolio.public void setProviderName(String providerName)
The updated name of the portfolio provider.
providerName
- The updated name of the portfolio provider.public String getProviderName()
The updated name of the portfolio provider.
public UpdatePortfolioRequest withProviderName(String providerName)
The updated name of the portfolio provider.
providerName
- The updated name of the portfolio provider.public List<Tag> getAddTags()
Tags to add to the existing list of tags associated with the portfolio.
public void setAddTags(Collection<Tag> addTags)
Tags to add to the existing list of tags associated with the portfolio.
addTags
- Tags to add to the existing list of tags associated with the portfolio.public UpdatePortfolioRequest withAddTags(Tag... addTags)
Tags to add to the existing list of tags associated with the portfolio.
NOTE: This method appends the values to the existing list (if any). Use
setAddTags(java.util.Collection)
or withAddTags(java.util.Collection)
if you want to override
the existing values.
addTags
- Tags to add to the existing list of tags associated with the portfolio.public UpdatePortfolioRequest withAddTags(Collection<Tag> addTags)
Tags to add to the existing list of tags associated with the portfolio.
addTags
- Tags to add to the existing list of tags associated with the portfolio.public List<String> getRemoveTags()
Tags to remove from the existing list of tags associated with the portfolio.
public void setRemoveTags(Collection<String> removeTags)
Tags to remove from the existing list of tags associated with the portfolio.
removeTags
- Tags to remove from the existing list of tags associated with the portfolio.public UpdatePortfolioRequest withRemoveTags(String... removeTags)
Tags to remove from the existing list of tags associated with the portfolio.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveTags(java.util.Collection)
or withRemoveTags(java.util.Collection)
if you want to
override the existing values.
removeTags
- Tags to remove from the existing list of tags associated with the portfolio.public UpdatePortfolioRequest withRemoveTags(Collection<String> removeTags)
Tags to remove from the existing list of tags associated with the portfolio.
removeTags
- Tags to remove from the existing list of tags associated with the portfolio.public String toString()
toString
in class Object
Object.toString()
public UpdatePortfolioRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.