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 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

      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.