@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProductRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProductRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProductRequest |
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 text description of the product.
|
String |
getDistributor()
The distributor of the product.
|
String |
getIdempotencyToken()
A token to disambiguate duplicate requests.
|
String |
getName()
The name of the product.
|
String |
getOwner()
The owner of the product.
|
String |
getProductType()
The type of the product to create.
|
ProvisioningArtifactProperties |
getProvisioningArtifactParameters()
Parameters for the provisioning artifact.
|
String |
getSupportDescription()
Support information about the product.
|
String |
getSupportEmail()
Contact email for product support.
|
String |
getSupportUrl()
Contact URL for product support.
|
List<Tag> |
getTags()
Tags to associate with the new product.
|
int |
hashCode() |
void |
setAcceptLanguage(String acceptLanguage)
The language code.
|
void |
setDescription(String description)
The text description of the product.
|
void |
setDistributor(String distributor)
The distributor of the product.
|
void |
setIdempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests.
|
void |
setName(String name)
The name of the product.
|
void |
setOwner(String owner)
The owner of the product.
|
void |
setProductType(ProductType productType)
The type of the product to create.
|
void |
setProductType(String productType)
The type of the product to create.
|
void |
setProvisioningArtifactParameters(ProvisioningArtifactProperties provisioningArtifactParameters)
Parameters for the provisioning artifact.
|
void |
setSupportDescription(String supportDescription)
Support information about the product.
|
void |
setSupportEmail(String supportEmail)
Contact email for product support.
|
void |
setSupportUrl(String supportUrl)
Contact URL for product support.
|
void |
setTags(Collection<Tag> tags)
Tags to associate with the new product.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateProductRequest |
withAcceptLanguage(String acceptLanguage)
The language code.
|
CreateProductRequest |
withDescription(String description)
The text description of the product.
|
CreateProductRequest |
withDistributor(String distributor)
The distributor of the product.
|
CreateProductRequest |
withIdempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests.
|
CreateProductRequest |
withName(String name)
The name of the product.
|
CreateProductRequest |
withOwner(String owner)
The owner of the product.
|
CreateProductRequest |
withProductType(ProductType productType)
The type of the product to create.
|
CreateProductRequest |
withProductType(String productType)
The type of the product to create.
|
CreateProductRequest |
withProvisioningArtifactParameters(ProvisioningArtifactProperties provisioningArtifactParameters)
Parameters for the provisioning artifact.
|
CreateProductRequest |
withSupportDescription(String supportDescription)
Support information about the product.
|
CreateProductRequest |
withSupportEmail(String supportEmail)
Contact email for product support.
|
CreateProductRequest |
withSupportUrl(String supportUrl)
Contact URL for product support.
|
CreateProductRequest |
withTags(Collection<Tag> tags)
Tags to associate with the new product.
|
CreateProductRequest |
withTags(Tag... tags)
Tags to associate with the new 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 CreateProductRequest 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 setName(String name)
The name of the product.
name
- The name of the product.public String getName()
The name of the product.
public CreateProductRequest withName(String name)
The name of the product.
name
- The name of the product.public void setOwner(String owner)
The owner of the product.
owner
- The owner of the product.public String getOwner()
The owner of the product.
public CreateProductRequest withOwner(String owner)
The owner of the product.
owner
- The owner of the product.public void setDescription(String description)
The text description of the product.
description
- The text description of the product.public String getDescription()
The text description of the product.
public CreateProductRequest withDescription(String description)
The text description of the product.
description
- The text description of the product.public void setDistributor(String distributor)
The distributor of the product.
distributor
- The distributor of the product.public String getDistributor()
The distributor of the product.
public CreateProductRequest withDistributor(String distributor)
The distributor of the product.
distributor
- The distributor of the product.public void setSupportDescription(String supportDescription)
Support information about the product.
supportDescription
- Support information about the product.public String getSupportDescription()
Support information about the product.
public CreateProductRequest withSupportDescription(String supportDescription)
Support information about the product.
supportDescription
- Support information about the product.public void setSupportEmail(String supportEmail)
Contact email for product support.
supportEmail
- Contact email for product support.public String getSupportEmail()
Contact email for product support.
public CreateProductRequest withSupportEmail(String supportEmail)
Contact email for product support.
supportEmail
- Contact email for product support.public void setSupportUrl(String supportUrl)
Contact URL for product support.
supportUrl
- Contact URL for product support.public String getSupportUrl()
Contact URL for product support.
public CreateProductRequest withSupportUrl(String supportUrl)
Contact URL for product support.
supportUrl
- Contact URL for product support.public void setProductType(String productType)
The type of the product to create.
productType
- The type of the product to create.ProductType
public String getProductType()
The type of the product to create.
ProductType
public CreateProductRequest withProductType(String productType)
The type of the product to create.
productType
- The type of the product to create.ProductType
public void setProductType(ProductType productType)
The type of the product to create.
productType
- The type of the product to create.ProductType
public CreateProductRequest withProductType(ProductType productType)
The type of the product to create.
productType
- The type of the product to create.ProductType
public List<Tag> getTags()
Tags to associate with the new product.
public void setTags(Collection<Tag> tags)
Tags to associate with the new product.
tags
- Tags to associate with the new product.public CreateProductRequest withTags(Tag... tags)
Tags to associate with the new product.
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
- Tags to associate with the new product.public CreateProductRequest withTags(Collection<Tag> tags)
Tags to associate with the new product.
tags
- Tags to associate with the new product.public void setProvisioningArtifactParameters(ProvisioningArtifactProperties provisioningArtifactParameters)
Parameters for the provisioning artifact.
provisioningArtifactParameters
- Parameters for the provisioning artifact.public ProvisioningArtifactProperties getProvisioningArtifactParameters()
Parameters for the provisioning artifact.
public CreateProductRequest withProvisioningArtifactParameters(ProvisioningArtifactProperties provisioningArtifactParameters)
Parameters for the provisioning artifact.
provisioningArtifactParameters
- Parameters for the provisioning artifact.public void setIdempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.
idempotencyToken
- A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that
you also specify a different idempotency token for each request.public String getIdempotencyToken()
A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.
public CreateProductRequest withIdempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.
idempotencyToken
- A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that
you also specify a different idempotency token for each request.public String toString()
toString
in class Object
Object.toString()
public CreateProductRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.