Interface InputDataConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InputDataConfig.Builder,InputDataConfig>,SdkBuilder<InputDataConfig.Builder,InputDataConfig>,SdkPojo
- Enclosing class:
- InputDataConfig
public static interface InputDataConfig.Builder extends SdkPojo, CopyableBuilder<InputDataConfig.Builder,InputDataConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputDataConfig.BuilderdataAccessRoleArn(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.Builders3Uri(String s3Uri)The Amazon S3 location (URI) of the text files you want to use to train your custom language model.InputDataConfig.BuildertuningDataS3Uri(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 Detail
-
s3Uri
InputDataConfig.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/- 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
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/- 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
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.
- 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.
-
-