Interface InputDataConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InputDataConfig.Builder,
,InputDataConfig> SdkBuilder<InputDataConfig.Builder,
,InputDataConfig> SdkPojo
- Enclosing class:
InputDataConfig
-
Method Summary
Modifier and TypeMethodDescriptiondataAccessRoleArn
(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.The Amazon S3 location (URI) of the text files you want to use to train your custom language model.tuningDataS3Uri
(String tuningDataS3Uri) The Amazon S3 location (URI) of the text files you want to use to tune your custom language model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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/
- Parameters:
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/
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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/
- Parameters:
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/
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-