@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputDataConfig extends Object implements Serializable, Cloneable, StructuredPojo
The input configuration properties for requesting a batch translation job.
Constructor and Description |
---|
InputDataConfig() |
Modifier and Type | Method and Description |
---|---|
InputDataConfig |
clone() |
boolean |
equals(Object obj) |
String |
getContentType()
The multipurpose internet mail extension (MIME) type of the input files.
|
String |
getS3Uri()
The URI of the AWS S3 folder that contains the input file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContentType(String contentType)
The multipurpose internet mail extension (MIME) type of the input files.
|
void |
setS3Uri(String s3Uri)
The URI of the AWS S3 folder that contains the input file.
|
String |
toString()
Returns a string representation of this object.
|
InputDataConfig |
withContentType(String contentType)
The multipurpose internet mail extension (MIME) type of the input files.
|
InputDataConfig |
withS3Uri(String s3Uri)
The URI of the AWS S3 folder that contains the input file.
|
public void setS3Uri(String s3Uri)
The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.
s3Uri
- The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the
API endpoint you are calling.public String getS3Uri()
The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.
public InputDataConfig withS3Uri(String s3Uri)
The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the API endpoint you are calling.
s3Uri
- The URI of the AWS S3 folder that contains the input file. The folder must be in the same Region as the
API endpoint you are calling.public void setContentType(String contentType)
The multipurpose internet mail extension (MIME) type of the input files. Valid values are text/plain
for plaintext files and text/html
for HTML files.
contentType
- The multipurpose internet mail extension (MIME) type of the input files. Valid values are
text/plain
for plaintext files and text/html
for HTML files.public String getContentType()
The multipurpose internet mail extension (MIME) type of the input files. Valid values are text/plain
for plaintext files and text/html
for HTML files.
text/plain
for plaintext files and text/html
for HTML files.public InputDataConfig withContentType(String contentType)
The multipurpose internet mail extension (MIME) type of the input files. Valid values are text/plain
for plaintext files and text/html
for HTML files.
contentType
- The multipurpose internet mail extension (MIME) type of the input files. Valid values are
text/plain
for plaintext files and text/html
for HTML files.public String toString()
toString
in class Object
Object.toString()
public InputDataConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.