@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateParallelDataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateParallelDataRequest() |
Modifier and Type | Method and Description |
---|---|
CreateParallelDataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique identifier for the request.
|
String |
getDescription()
A custom description for the parallel data resource in Amazon Translate.
|
EncryptionKey |
getEncryptionKey() |
String |
getName()
A custom name for the parallel data resource in Amazon Translate.
|
ParallelDataConfig |
getParallelDataConfig()
Specifies the format and S3 location of the parallel data input file.
|
List<Tag> |
getTags()
Tags to be associated with this resource.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique identifier for the request.
|
void |
setDescription(String description)
A custom description for the parallel data resource in Amazon Translate.
|
void |
setEncryptionKey(EncryptionKey encryptionKey) |
void |
setName(String name)
A custom name for the parallel data resource in Amazon Translate.
|
void |
setParallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
|
void |
setTags(Collection<Tag> tags)
Tags to be associated with this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateParallelDataRequest |
withClientToken(String clientToken)
A unique identifier for the request.
|
CreateParallelDataRequest |
withDescription(String description)
A custom description for the parallel data resource in Amazon Translate.
|
CreateParallelDataRequest |
withEncryptionKey(EncryptionKey encryptionKey) |
CreateParallelDataRequest |
withName(String name)
A custom name for the parallel data resource in Amazon Translate.
|
CreateParallelDataRequest |
withParallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
|
CreateParallelDataRequest |
withTags(Collection<Tag> tags)
Tags to be associated with this resource.
|
CreateParallelDataRequest |
withTags(Tag... tags)
Tags to be associated with this resource.
|
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 setName(String name)
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
name
- A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in
the account and region.public String getName()
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
public CreateParallelDataRequest withName(String name)
A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.
name
- A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in
the account and region.public void setDescription(String description)
A custom description for the parallel data resource in Amazon Translate.
description
- A custom description for the parallel data resource in Amazon Translate.public String getDescription()
A custom description for the parallel data resource in Amazon Translate.
public CreateParallelDataRequest withDescription(String description)
A custom description for the parallel data resource in Amazon Translate.
description
- A custom description for the parallel data resource in Amazon Translate.public void setParallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
parallelDataConfig
- Specifies the format and S3 location of the parallel data input file.public ParallelDataConfig getParallelDataConfig()
Specifies the format and S3 location of the parallel data input file.
public CreateParallelDataRequest withParallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
parallelDataConfig
- Specifies the format and S3 location of the parallel data input file.public void setEncryptionKey(EncryptionKey encryptionKey)
encryptionKey
- public EncryptionKey getEncryptionKey()
public CreateParallelDataRequest withEncryptionKey(EncryptionKey encryptionKey)
encryptionKey
- public void setClientToken(String clientToken)
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
clientToken
- A unique identifier for the request. This token is automatically generated when you use Amazon Translate
through an AWS SDK.public String getClientToken()
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
public CreateParallelDataRequest withClientToken(String clientToken)
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
clientToken
- A unique identifier for the request. This token is automatically generated when you use Amazon Translate
through an AWS SDK.public List<Tag> getTags()
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
public void setTags(Collection<Tag> tags)
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
tags
- Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each
tag key for the resource must be unique. For more information, see Tagging your resources.public CreateParallelDataRequest withTags(Tag... tags)
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
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 be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each
tag key for the resource must be unique. For more information, see Tagging your resources.public CreateParallelDataRequest withTags(Collection<Tag> tags)
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
tags
- Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each
tag key for the resource must be unique. For more information, see Tagging your resources.public String toString()
toString
in class Object
Object.toString()
public CreateParallelDataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()