@Generated(value="software.amazon.awssdk:codegen") public final class InputDataConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InputDataConfig.Builder,InputDataConfig>
Contains the Amazon S3 location of the training data you want to use to create a new custom language model, and permissions to access this location.
When using InputDataConfig, you must include these sub-parameters: S3Uri and
DataAccessRoleArn. You can optionally include TuningDataS3Uri.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InputDataConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InputDataConfig.Builder |
builder() |
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.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
s3Uri()
The Amazon S3 location (URI) of the text files you want to use to train your custom language model.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InputDataConfig.Builder> |
serializableBuilderClass() |
InputDataConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
tuningDataS3Uri()
The Amazon S3 location (URI) of the text files you want to use to tune your custom language model.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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/
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-training-data/
public final 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/
Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-tuning-data/
public final 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 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.
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.
public InputDataConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InputDataConfig.Builder,InputDataConfig>public static InputDataConfig.Builder builder()
public static Class<? extends InputDataConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.