public class InputDataConfig
extends java.lang.Object
implements java.io.Serializable
The object that contains the Amazon S3 object location and access role required to train and tune your custom language model.
| Constructor and Description | 
|---|
| InputDataConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getDataAccessRoleArn()
 The Amazon Resource Name (ARN) that uniquely identifies the permissions
 you've given Amazon Transcribe to access your Amazon S3 buckets
 containing your media files or text data. | 
| java.lang.String | getS3Uri()
 The Amazon S3 prefix you specify to access the plain text files that you
 use to train your custom language model. | 
| java.lang.String | getTuningDataS3Uri()
 The Amazon S3 prefix you specify to access the plain text files that you
 use to tune your custom language model. | 
| int | hashCode() | 
| void | setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
 The Amazon Resource Name (ARN) that uniquely identifies the permissions
 you've given Amazon Transcribe to access your Amazon S3 buckets
 containing your media files or text data. | 
| void | setS3Uri(java.lang.String s3Uri)
 The Amazon S3 prefix you specify to access the plain text files that you
 use to train your custom language model. | 
| void | setTuningDataS3Uri(java.lang.String tuningDataS3Uri)
 The Amazon S3 prefix you specify to access the plain text files that you
 use to tune your custom language model. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| InputDataConfig | withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
 The Amazon Resource Name (ARN) that uniquely identifies the permissions
 you've given Amazon Transcribe to access your Amazon S3 buckets
 containing your media files or text data. | 
| InputDataConfig | withS3Uri(java.lang.String s3Uri)
 The Amazon S3 prefix you specify to access the plain text files that you
 use to train your custom language model. | 
| InputDataConfig | withTuningDataS3Uri(java.lang.String tuningDataS3Uri)
 The Amazon S3 prefix you specify to access the plain text files that you
 use to tune your custom language model. | 
public java.lang.String getS3Uri()
The Amazon S3 prefix you specify to access the plain text files that you use to train your custom language model.
 Constraints:
 Length: 1 - 2000
 Pattern: (s3://|http(s*)://).+
The Amazon S3 prefix you specify to access the plain text files that you use to train your custom language model.
public void setS3Uri(java.lang.String s3Uri)
The Amazon S3 prefix you specify to access the plain text files that you use to train your custom language model.
 Constraints:
 Length: 1 - 2000
 Pattern: (s3://|http(s*)://).+
s3Uri - The Amazon S3 prefix you specify to access the plain text files that you use to train your custom language model.
public InputDataConfig withS3Uri(java.lang.String s3Uri)
The Amazon S3 prefix you specify to access the plain text files that you use to train your custom language model.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 2000
 Pattern: (s3://|http(s*)://).+
s3Uri - The Amazon S3 prefix you specify to access the plain text files that you use to train your custom language model.
public java.lang.String getTuningDataS3Uri()
The Amazon S3 prefix you specify to access the plain text files that you use to tune your custom language model.
 Constraints:
 Length: 1 - 2000
 Pattern: (s3://|http(s*)://).+
The Amazon S3 prefix you specify to access the plain text files that you use to tune your custom language model.
public void setTuningDataS3Uri(java.lang.String tuningDataS3Uri)
The Amazon S3 prefix you specify to access the plain text files that you use to tune your custom language model.
 Constraints:
 Length: 1 - 2000
 Pattern: (s3://|http(s*)://).+
tuningDataS3Uri - The Amazon S3 prefix you specify to access the plain text files that you use to tune your custom language model.
public InputDataConfig withTuningDataS3Uri(java.lang.String tuningDataS3Uri)
The Amazon S3 prefix you specify to access the plain text files that you use to tune your custom language model.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 2000
 Pattern: (s3://|http(s*)://).+
tuningDataS3Uri - The Amazon S3 prefix you specify to access the plain text files that you use to tune your custom language model.
public java.lang.String getDataAccessRoleArn()
The Amazon Resource Name (ARN) that uniquely identifies the permissions you've given Amazon Transcribe to access your Amazon S3 buckets containing your media files or text data.
 Constraints:
 Length: 20 - 2048
 Pattern:
 ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
 [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
The Amazon Resource Name (ARN) that uniquely identifies the permissions you've given Amazon Transcribe to access your Amazon S3 buckets containing your media files or text data.
public void setDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) that uniquely identifies the permissions you've given Amazon Transcribe to access your Amazon S3 buckets containing your media files or text data.
 Constraints:
 Length: 20 - 2048
 Pattern:
 ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
 [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
dataAccessRoleArn - The Amazon Resource Name (ARN) that uniquely identifies the permissions you've given Amazon Transcribe to access your Amazon S3 buckets containing your media files or text data.
public InputDataConfig withDataAccessRoleArn(java.lang.String dataAccessRoleArn)
The Amazon Resource Name (ARN) that uniquely identifies the permissions you've given Amazon Transcribe to access your Amazon S3 buckets containing your media files or text data.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 20 - 2048
 Pattern:
 ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam::
 [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
dataAccessRoleArn - The Amazon Resource Name (ARN) that uniquely identifies the permissions you've given Amazon Transcribe to access your Amazon S3 buckets containing your media files or text data.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.