@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()
 The tags to add. | 
| String | getDescription()
 The updated description of the portfolio. | 
| String | getDisplayName()
 The name to use for display purposes. | 
| String | getId()
 The portfolio identifier. | 
| String | getProviderName()
 The updated name of the portfolio provider. | 
| List<String> | getRemoveTags()
 The tags to remove. | 
| int | hashCode() | 
| void | setAcceptLanguage(String acceptLanguage)
 The language code. | 
| void | setAddTags(Collection<Tag> addTags)
 The tags to add. | 
| void | setDescription(String description)
 The updated description of the portfolio. | 
| void | setDisplayName(String displayName)
 The name to use for display purposes. | 
| void | setId(String id)
 The portfolio identifier. | 
| void | setProviderName(String providerName)
 The updated name of the portfolio provider. | 
| void | setRemoveTags(Collection<String> removeTags)
 The tags to remove. | 
| String | toString()Returns a string representation of this object. | 
| UpdatePortfolioRequest | withAcceptLanguage(String acceptLanguage)
 The language code. | 
| UpdatePortfolioRequest | withAddTags(Collection<Tag> addTags)
 The tags to add. | 
| UpdatePortfolioRequest | withAddTags(Tag... addTags)
 The tags to add. | 
| UpdatePortfolioRequest | withDescription(String description)
 The updated description of the portfolio. | 
| UpdatePortfolioRequest | withDisplayName(String displayName)
 The name to use for display purposes. | 
| UpdatePortfolioRequest | withId(String id)
 The portfolio identifier. | 
| UpdatePortfolioRequest | withProviderName(String providerName)
 The updated name of the portfolio provider. | 
| UpdatePortfolioRequest | withRemoveTags(Collection<String> removeTags)
 The tags to remove. | 
| UpdatePortfolioRequest | withRemoveTags(String... removeTags)
 The tags to remove. | 
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, withSdkRequestTimeoutpublic 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 UpdatePortfolioRequest withAcceptLanguage(String acceptLanguage)
The language code.
 jp - Japanese
 
 zh - Chinese
 
acceptLanguage - The language code.
        
        jp - Japanese
        
        zh - Chinese
        
public void setId(String id)
The portfolio identifier.
id - The portfolio identifier.public String getId()
The portfolio identifier.
public UpdatePortfolioRequest withId(String id)
The portfolio identifier.
id - The portfolio identifier.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 description of the portfolio.
description - The updated description of the portfolio.public String getDescription()
The updated description of the portfolio.
public UpdatePortfolioRequest withDescription(String description)
The updated description of the portfolio.
description - The updated 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 void setAddTags(Collection<Tag> addTags)
The tags to add.
addTags - The tags to add.public UpdatePortfolioRequest withAddTags(Tag... addTags)
The tags to add.
 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 - The tags to add.public UpdatePortfolioRequest withAddTags(Collection<Tag> addTags)
The tags to add.
addTags - The tags to add.public void setRemoveTags(Collection<String> removeTags)
The tags to remove.
removeTags - The tags to remove.public UpdatePortfolioRequest withRemoveTags(String... removeTags)
The tags to remove.
 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 - The tags to remove.public UpdatePortfolioRequest withRemoveTags(Collection<String> removeTags)
The tags to remove.
removeTags - The tags to remove.public String toString()
toString in class ObjectObject.toString()public UpdatePortfolioRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()