public class UpdateParallelDataRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates a previously created parallel data resource by importing a new input file from Amazon S3.
Constructor and Description |
---|
UpdateParallelDataRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
A unique identifier for the request.
|
java.lang.String |
getDescription()
A custom description for the parallel data resource in Amazon Translate.
|
java.lang.String |
getName()
The name of the parallel data resource being updated.
|
ParallelDataConfig |
getParallelDataConfig()
Specifies the format and S3 location of the parallel data input file.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A unique identifier for the request.
|
void |
setDescription(java.lang.String description)
A custom description for the parallel data resource in Amazon Translate.
|
void |
setName(java.lang.String name)
The name of the parallel data resource being updated.
|
void |
setParallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateParallelDataRequest |
withClientToken(java.lang.String clientToken)
A unique identifier for the request.
|
UpdateParallelDataRequest |
withDescription(java.lang.String description)
A custom description for the parallel data resource in Amazon Translate.
|
UpdateParallelDataRequest |
withName(java.lang.String name)
The name of the parallel data resource being updated.
|
UpdateParallelDataRequest |
withParallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getName()
The name of the parallel data resource being updated.
Constraints:
Length: 1 - 256
Pattern: ^([A-Za-z0-9-]_?)+$
The name of the parallel data resource being updated.
public void setName(java.lang.String name)
The name of the parallel data resource being updated.
Constraints:
Length: 1 - 256
Pattern: ^([A-Za-z0-9-]_?)+$
name
- The name of the parallel data resource being updated.
public UpdateParallelDataRequest withName(java.lang.String name)
The name of the parallel data resource being updated.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: ^([A-Za-z0-9-]_?)+$
name
- The name of the parallel data resource being updated.
public java.lang.String getDescription()
A custom description for the parallel data resource in Amazon Translate.
Constraints:
Length: - 256
Pattern: [\P{M}\p{M}]{0,256}
A custom description for the parallel data resource in Amazon Translate.
public void setDescription(java.lang.String description)
A custom description for the parallel data resource in Amazon Translate.
Constraints:
Length: - 256
Pattern: [\P{M}\p{M}]{0,256}
description
- A custom description for the parallel data resource in Amazon Translate.
public UpdateParallelDataRequest withDescription(java.lang.String description)
A custom description for the parallel data resource in Amazon Translate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
Pattern: [\P{M}\p{M}]{0,256}
description
- A custom description for the parallel data resource in Amazon Translate.
public ParallelDataConfig getParallelDataConfig()
Specifies the format and S3 location of the parallel data input file.
Specifies the format and S3 location of the parallel data input file.
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 UpdateParallelDataRequest withParallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
Returns a reference to this object so that method calls can be chained together.
parallelDataConfig
- Specifies the format and S3 location of the parallel data input file.
public java.lang.String getClientToken()
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-]+$
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
public void setClientToken(java.lang.String clientToken)
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-]+$
clientToken
- A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
public UpdateParallelDataRequest withClientToken(java.lang.String clientToken)
A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-]+$
clientToken
- A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.