@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProductRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateProductRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateProductRequest |
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 product.
|
String |
getDescription()
The updated text description of the product.
|
String |
getDistributor()
The updated distributor of the product.
|
String |
getId()
The identifier of the product for the update request.
|
String |
getName()
The updated product name.
|
String |
getOwner()
The updated owner of the product.
|
List<String> |
getRemoveTags()
Tags to remove from the existing list of tags associated with the product.
|
String |
getSupportDescription()
The updated support description for the product.
|
String |
getSupportEmail()
The updated support email for the product.
|
String |
getSupportUrl()
The updated support URL for the product.
|
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 product.
|
void |
setDescription(String description)
The updated text description of the product.
|
void |
setDistributor(String distributor)
The updated distributor of the product.
|
void |
setId(String id)
The identifier of the product for the update request.
|
void |
setName(String name)
The updated product name.
|
void |
setOwner(String owner)
The updated owner of the product.
|
void |
setRemoveTags(Collection<String> removeTags)
Tags to remove from the existing list of tags associated with the product.
|
void |
setSupportDescription(String supportDescription)
The updated support description for the product.
|
void |
setSupportEmail(String supportEmail)
The updated support email for the product.
|
void |
setSupportUrl(String supportUrl)
The updated support URL for the product.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateProductRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
UpdateProductRequest |
withAddTags(Collection<Tag> addTags)
Tags to add to the existing list of tags associated with the product.
|
UpdateProductRequest |
withAddTags(Tag... addTags)
Tags to add to the existing list of tags associated with the product.
|
UpdateProductRequest |
withDescription(String description)
The updated text description of the product.
|
UpdateProductRequest |
withDistributor(String distributor)
The updated distributor of the product.
|
UpdateProductRequest |
withId(String id)
The identifier of the product for the update request.
|
UpdateProductRequest |
withName(String name)
The updated product name.
|
UpdateProductRequest |
withOwner(String owner)
The updated owner of the product.
|
UpdateProductRequest |
withRemoveTags(Collection<String> removeTags)
Tags to remove from the existing list of tags associated with the product.
|
UpdateProductRequest |
withRemoveTags(String... removeTags)
Tags to remove from the existing list of tags associated with the product.
|
UpdateProductRequest |
withSupportDescription(String supportDescription)
The updated support description for the product.
|
UpdateProductRequest |
withSupportEmail(String supportEmail)
The updated support email for the product.
|
UpdateProductRequest |
withSupportUrl(String supportUrl)
The updated support URL for the product.
|
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 UpdateProductRequest 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 product for the update request.
id
- The identifier of the product for the update request.public String getId()
The identifier of the product for the update request.
public UpdateProductRequest withId(String id)
The identifier of the product for the update request.
id
- The identifier of the product for the update request.public void setName(String name)
The updated product name.
name
- The updated product name.public String getName()
The updated product name.
public UpdateProductRequest withName(String name)
The updated product name.
name
- The updated product name.public void setOwner(String owner)
The updated owner of the product.
owner
- The updated owner of the product.public String getOwner()
The updated owner of the product.
public UpdateProductRequest withOwner(String owner)
The updated owner of the product.
owner
- The updated owner of the product.public void setDescription(String description)
The updated text description of the product.
description
- The updated text description of the product.public String getDescription()
The updated text description of the product.
public UpdateProductRequest withDescription(String description)
The updated text description of the product.
description
- The updated text description of the product.public void setDistributor(String distributor)
The updated distributor of the product.
distributor
- The updated distributor of the product.public String getDistributor()
The updated distributor of the product.
public UpdateProductRequest withDistributor(String distributor)
The updated distributor of the product.
distributor
- The updated distributor of the product.public void setSupportDescription(String supportDescription)
The updated support description for the product.
supportDescription
- The updated support description for the product.public String getSupportDescription()
The updated support description for the product.
public UpdateProductRequest withSupportDescription(String supportDescription)
The updated support description for the product.
supportDescription
- The updated support description for the product.public void setSupportEmail(String supportEmail)
The updated support email for the product.
supportEmail
- The updated support email for the product.public String getSupportEmail()
The updated support email for the product.
public UpdateProductRequest withSupportEmail(String supportEmail)
The updated support email for the product.
supportEmail
- The updated support email for the product.public void setSupportUrl(String supportUrl)
The updated support URL for the product.
supportUrl
- The updated support URL for the product.public String getSupportUrl()
The updated support URL for the product.
public UpdateProductRequest withSupportUrl(String supportUrl)
The updated support URL for the product.
supportUrl
- The updated support URL for the product.public List<Tag> getAddTags()
Tags to add to the existing list of tags associated with the product.
public void setAddTags(Collection<Tag> addTags)
Tags to add to the existing list of tags associated with the product.
addTags
- Tags to add to the existing list of tags associated with the product.public UpdateProductRequest withAddTags(Tag... addTags)
Tags to add to the existing list of tags associated with the product.
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 product.public UpdateProductRequest withAddTags(Collection<Tag> addTags)
Tags to add to the existing list of tags associated with the product.
addTags
- Tags to add to the existing list of tags associated with the product.public List<String> getRemoveTags()
Tags to remove from the existing list of tags associated with the product.
public void setRemoveTags(Collection<String> removeTags)
Tags to remove from the existing list of tags associated with the product.
removeTags
- Tags to remove from the existing list of tags associated with the product.public UpdateProductRequest withRemoveTags(String... removeTags)
Tags to remove from the existing list of tags associated with the product.
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 product.public UpdateProductRequest withRemoveTags(Collection<String> removeTags)
Tags to remove from the existing list of tags associated with the product.
removeTags
- Tags to remove from the existing list of tags associated with the product.public String toString()
toString
in class Object
Object.toString()
public UpdateProductRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.