public class ParallelDataConfig
extends java.lang.Object
implements java.io.Serializable
Specifies the format and S3 location of the parallel data input file.
Constructor and Description |
---|
ParallelDataConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFormat()
The format of the parallel data input file.
|
java.lang.String |
getS3Uri()
The URI of the Amazon S3 folder that contains the parallel data input
file.
|
int |
hashCode() |
void |
setFormat(ParallelDataFormat format)
The format of the parallel data input file.
|
void |
setFormat(java.lang.String format)
The format of the parallel data input file.
|
void |
setS3Uri(java.lang.String s3Uri)
The URI of the Amazon S3 folder that contains the parallel data input
file.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ParallelDataConfig |
withFormat(ParallelDataFormat format)
The format of the parallel data input file.
|
ParallelDataConfig |
withFormat(java.lang.String format)
The format of the parallel data input file.
|
ParallelDataConfig |
withS3Uri(java.lang.String s3Uri)
The URI of the Amazon S3 folder that contains the parallel data input
file.
|
public java.lang.String getS3Uri()
The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.
Constraints:
Length: - 1024
Pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.
public void setS3Uri(java.lang.String s3Uri)
The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.
Constraints:
Length: - 1024
Pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
s3Uri
- The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.
public ParallelDataConfig withS3Uri(java.lang.String s3Uri)
The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1024
Pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
s3Uri
- The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.
public java.lang.String getFormat()
The format of the parallel data input file.
Constraints:
Allowed Values: TSV, CSV, TMX
The format of the parallel data input file.
ParallelDataFormat
public void setFormat(java.lang.String format)
The format of the parallel data input file.
Constraints:
Allowed Values: TSV, CSV, TMX
format
- The format of the parallel data input file.
ParallelDataFormat
public ParallelDataConfig withFormat(java.lang.String format)
The format of the parallel data input file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TSV, CSV, TMX
format
- The format of the parallel data input file.
ParallelDataFormat
public void setFormat(ParallelDataFormat format)
The format of the parallel data input file.
Constraints:
Allowed Values: TSV, CSV, TMX
format
- The format of the parallel data input file.
ParallelDataFormat
public ParallelDataConfig withFormat(ParallelDataFormat format)
The format of the parallel data input file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TSV, CSV, TMX
format
- The format of the parallel data input file.
ParallelDataFormat
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.