public static interface InputDataConfig.Builder extends SdkPojo, CopyableBuilder<InputDataConfig.Builder,InputDataConfig>
| Modifier and Type | Method and Description |
|---|---|
InputDataConfig.Builder |
dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that
contains your input files.
|
InputDataConfig.Builder |
s3Uri(String s3Uri)
The Amazon S3 location (URI) of the text files you want to use to train your custom language model.
|
InputDataConfig.Builder |
tuningDataS3Uri(String tuningDataS3Uri)
The Amazon S3 location (URI) of the text files you want to use to tune your custom language model.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInputDataConfig.Builder s3Uri(String s3Uri)
The Amazon S3 location (URI) of the text files you want to use to train your custom language model.
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-training-data/
s3Uri - The Amazon S3 location (URI) of the text files you want to use to train your custom language
model.
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-training-data/
InputDataConfig.Builder tuningDataS3Uri(String tuningDataS3Uri)
The Amazon S3 location (URI) of the text files you want to use to tune your custom language model.
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-tuning-data/
tuningDataS3Uri - The Amazon S3 location (URI) of the text files you want to use to tune your custom language model.
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-tuning-data/
InputDataConfig.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format arn:partition:iam::account:role/role-name-with-path. For example:
arn:aws:iam::111122223333:role/Admin.
For more information, see IAM ARNs.
dataAccessRoleArn - The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that
contains your input files. If the role that you specify doesn’t have the appropriate permissions to
access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format arn:partition:iam::account:role/role-name-with-path. For
example: arn:aws:iam::111122223333:role/Admin.
For more information, see IAM ARNs.
Copyright © 2022. All rights reserved.