@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()
The tags to add to the product.
|
String |
getDescription()
The updated description of the product.
|
String |
getDistributor()
The updated distributor of the product.
|
String |
getId()
The product identifier.
|
String |
getName()
The updated product name.
|
String |
getOwner()
The updated owner of the product.
|
List<String> |
getRemoveTags()
The tags to remove from the product.
|
SourceConnection |
getSourceConnection()
Specifies connection details for the updated product and syncs the product to the connection source artifact.
|
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)
The tags to add to the product.
|
void |
setDescription(String description)
The updated description of the product.
|
void |
setDistributor(String distributor)
The updated distributor of the product.
|
void |
setId(String id)
The product identifier.
|
void |
setName(String name)
The updated product name.
|
void |
setOwner(String owner)
The updated owner of the product.
|
void |
setRemoveTags(Collection<String> removeTags)
The tags to remove from the product.
|
void |
setSourceConnection(SourceConnection sourceConnection)
Specifies connection details for the updated product and syncs the product to the connection source artifact.
|
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.
|
UpdateProductRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
UpdateProductRequest |
withAddTags(Collection<Tag> addTags)
The tags to add to the product.
|
UpdateProductRequest |
withAddTags(Tag... addTags)
The tags to add to the product.
|
UpdateProductRequest |
withDescription(String description)
The updated description of the product.
|
UpdateProductRequest |
withDistributor(String distributor)
The updated distributor of the product.
|
UpdateProductRequest |
withId(String id)
The product identifier.
|
UpdateProductRequest |
withName(String name)
The updated product name.
|
UpdateProductRequest |
withOwner(String owner)
The updated owner of the product.
|
UpdateProductRequest |
withRemoveTags(Collection<String> removeTags)
The tags to remove from the product.
|
UpdateProductRequest |
withRemoveTags(String... removeTags)
The tags to remove from the product.
|
UpdateProductRequest |
withSourceConnection(SourceConnection sourceConnection)
Specifies connection details for the updated product and syncs the product to the connection source artifact.
|
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.
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 UpdateProductRequest withAcceptLanguage(String acceptLanguage)
The language code.
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
jp
- Japanese
zh
- Chinese
public void setId(String id)
The product identifier.
id
- The product identifier.public String getId()
The product identifier.
public UpdateProductRequest withId(String id)
The product identifier.
id
- The product identifier.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 description of the product.
description
- The updated description of the product.public String getDescription()
The updated description of the product.
public UpdateProductRequest withDescription(String description)
The updated description of the product.
description
- The updated 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()
The tags to add to the product.
public void setAddTags(Collection<Tag> addTags)
The tags to add to the product.
addTags
- The tags to add to the product.public UpdateProductRequest withAddTags(Tag... addTags)
The tags to add to 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
- The tags to add to the product.public UpdateProductRequest withAddTags(Collection<Tag> addTags)
The tags to add to the product.
addTags
- The tags to add to the product.public List<String> getRemoveTags()
The tags to remove from the product.
public void setRemoveTags(Collection<String> removeTags)
The tags to remove from the product.
removeTags
- The tags to remove from the product.public UpdateProductRequest withRemoveTags(String... removeTags)
The tags to remove from 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
- The tags to remove from the product.public UpdateProductRequest withRemoveTags(Collection<String> removeTags)
The tags to remove from the product.
removeTags
- The tags to remove from the product.public void setSourceConnection(SourceConnection sourceConnection)
Specifies connection details for the updated product and syncs the product to the connection source artifact.
This automatically manages the product's artifacts based on changes to the source. The
SourceConnection
parameter consists of the following sub-fields.
Type
ConnectionParamters
sourceConnection
- Specifies connection details for the updated product and syncs the product to the connection source
artifact. This automatically manages the product's artifacts based on changes to the source. The
SourceConnection
parameter consists of the following sub-fields.
Type
ConnectionParamters
public SourceConnection getSourceConnection()
Specifies connection details for the updated product and syncs the product to the connection source artifact.
This automatically manages the product's artifacts based on changes to the source. The
SourceConnection
parameter consists of the following sub-fields.
Type
ConnectionParamters
SourceConnection
parameter consists of the following sub-fields.
Type
ConnectionParamters
public UpdateProductRequest withSourceConnection(SourceConnection sourceConnection)
Specifies connection details for the updated product and syncs the product to the connection source artifact.
This automatically manages the product's artifacts based on changes to the source. The
SourceConnection
parameter consists of the following sub-fields.
Type
ConnectionParamters
sourceConnection
- Specifies connection details for the updated product and syncs the product to the connection source
artifact. This automatically manages the product's artifacts based on changes to the source. The
SourceConnection
parameter consists of the following sub-fields.
Type
ConnectionParamters
public String toString()
toString
in class Object
Object.toString()
public UpdateProductRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()