@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoMLS3DataSource extends Object implements Serializable, Cloneable, StructuredPojo
Describes the Amazon S3 data source.
| Constructor and Description |
|---|
AutoMLS3DataSource() |
| Modifier and Type | Method and Description |
|---|---|
AutoMLS3DataSource |
clone() |
boolean |
equals(Object obj) |
String |
getS3DataType()
The data type.
|
String |
getS3Uri()
The URL to the Amazon S3 data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setS3DataType(String s3DataType)
The data type.
|
void |
setS3Uri(String s3Uri)
The URL to the Amazon S3 data source.
|
String |
toString()
Returns a string representation of this object.
|
AutoMLS3DataSource |
withS3DataType(AutoMLS3DataType s3DataType)
The data type.
|
AutoMLS3DataSource |
withS3DataType(String s3DataType)
The data type.
|
AutoMLS3DataSource |
withS3Uri(String s3Uri)
The URL to the Amazon S3 data source.
|
public void setS3DataType(String s3DataType)
The data type.
If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects
that match the specified key name prefix for model training.
The S3Prefix should have the following format:
s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE
If you choose ManifestFile, S3Uri identifies an object that is a manifest file
containing a list of object keys that you want SageMaker to use for model training.
A ManifestFile should have the format shown below:
[ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",
... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]
If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented
manifest file in JSON lines format. This file contains the data you want to use for model training.
AugmentedManifestFile is available for V2 API jobs only (for example, for jobs created by calling
CreateAutoMLJobV2).
Here is a minimal, single-record example of an AugmentedManifestFile:
{"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",
"label-metadata": {"class-name": "cat"
For more information on AugmentedManifestFile, see Provide Dataset Metadata to
Training Jobs with an Augmented Manifest File.
s3DataType - The data type.
If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all
objects that match the specified key name prefix for model training.
The S3Prefix should have the following format:
s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE
If you choose ManifestFile, S3Uri identifies an object that is a manifest file
containing a list of object keys that you want SageMaker to use for model training.
A ManifestFile should have the format shown below:
[ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",
... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]
If you choose AugmentedManifestFile, S3Uri identifies an object that is an
augmented manifest file in JSON lines format. This file contains the data you want to use for model
training. AugmentedManifestFile is available for V2 API jobs only (for example, for jobs
created by calling CreateAutoMLJobV2).
Here is a minimal, single-record example of an AugmentedManifestFile:
{"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",
"label-metadata": {"class-name": "cat"
For more information on AugmentedManifestFile, see Provide Dataset Metadata to
Training Jobs with an Augmented Manifest File.
AutoMLS3DataTypepublic String getS3DataType()
The data type.
If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects
that match the specified key name prefix for model training.
The S3Prefix should have the following format:
s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE
If you choose ManifestFile, S3Uri identifies an object that is a manifest file
containing a list of object keys that you want SageMaker to use for model training.
A ManifestFile should have the format shown below:
[ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",
... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]
If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented
manifest file in JSON lines format. This file contains the data you want to use for model training.
AugmentedManifestFile is available for V2 API jobs only (for example, for jobs created by calling
CreateAutoMLJobV2).
Here is a minimal, single-record example of an AugmentedManifestFile:
{"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",
"label-metadata": {"class-name": "cat"
For more information on AugmentedManifestFile, see Provide Dataset Metadata to
Training Jobs with an Augmented Manifest File.
If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all
objects that match the specified key name prefix for model training.
The S3Prefix should have the following format:
s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE
If you choose ManifestFile, S3Uri identifies an object that is a manifest file
containing a list of object keys that you want SageMaker to use for model training.
A ManifestFile should have the format shown below:
[ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",
... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]
If you choose AugmentedManifestFile, S3Uri identifies an object that is an
augmented manifest file in JSON lines format. This file contains the data you want to use for model
training. AugmentedManifestFile is available for V2 API jobs only (for example, for jobs
created by calling CreateAutoMLJobV2).
Here is a minimal, single-record example of an AugmentedManifestFile:
{"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",
"label-metadata": {"class-name": "cat"
For more information on AugmentedManifestFile, see Provide Dataset Metadata
to Training Jobs with an Augmented Manifest File.
AutoMLS3DataTypepublic AutoMLS3DataSource withS3DataType(String s3DataType)
The data type.
If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects
that match the specified key name prefix for model training.
The S3Prefix should have the following format:
s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE
If you choose ManifestFile, S3Uri identifies an object that is a manifest file
containing a list of object keys that you want SageMaker to use for model training.
A ManifestFile should have the format shown below:
[ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",
... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]
If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented
manifest file in JSON lines format. This file contains the data you want to use for model training.
AugmentedManifestFile is available for V2 API jobs only (for example, for jobs created by calling
CreateAutoMLJobV2).
Here is a minimal, single-record example of an AugmentedManifestFile:
{"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",
"label-metadata": {"class-name": "cat"
For more information on AugmentedManifestFile, see Provide Dataset Metadata to
Training Jobs with an Augmented Manifest File.
s3DataType - The data type.
If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all
objects that match the specified key name prefix for model training.
The S3Prefix should have the following format:
s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE
If you choose ManifestFile, S3Uri identifies an object that is a manifest file
containing a list of object keys that you want SageMaker to use for model training.
A ManifestFile should have the format shown below:
[ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",
... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]
If you choose AugmentedManifestFile, S3Uri identifies an object that is an
augmented manifest file in JSON lines format. This file contains the data you want to use for model
training. AugmentedManifestFile is available for V2 API jobs only (for example, for jobs
created by calling CreateAutoMLJobV2).
Here is a minimal, single-record example of an AugmentedManifestFile:
{"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",
"label-metadata": {"class-name": "cat"
For more information on AugmentedManifestFile, see Provide Dataset Metadata to
Training Jobs with an Augmented Manifest File.
AutoMLS3DataTypepublic AutoMLS3DataSource withS3DataType(AutoMLS3DataType s3DataType)
The data type.
If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects
that match the specified key name prefix for model training.
The S3Prefix should have the following format:
s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE
If you choose ManifestFile, S3Uri identifies an object that is a manifest file
containing a list of object keys that you want SageMaker to use for model training.
A ManifestFile should have the format shown below:
[ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",
... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]
If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented
manifest file in JSON lines format. This file contains the data you want to use for model training.
AugmentedManifestFile is available for V2 API jobs only (for example, for jobs created by calling
CreateAutoMLJobV2).
Here is a minimal, single-record example of an AugmentedManifestFile:
{"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",
"label-metadata": {"class-name": "cat"
For more information on AugmentedManifestFile, see Provide Dataset Metadata to
Training Jobs with an Augmented Manifest File.
s3DataType - The data type.
If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all
objects that match the specified key name prefix for model training.
The S3Prefix should have the following format:
s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE
If you choose ManifestFile, S3Uri identifies an object that is a manifest file
containing a list of object keys that you want SageMaker to use for model training.
A ManifestFile should have the format shown below:
[ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",
"DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",
... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]
If you choose AugmentedManifestFile, S3Uri identifies an object that is an
augmented manifest file in JSON lines format. This file contains the data you want to use for model
training. AugmentedManifestFile is available for V2 API jobs only (for example, for jobs
created by calling CreateAutoMLJobV2).
Here is a minimal, single-record example of an AugmentedManifestFile:
{"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",
"label-metadata": {"class-name": "cat"
For more information on AugmentedManifestFile, see Provide Dataset Metadata to
Training Jobs with an Augmented Manifest File.
AutoMLS3DataTypepublic void setS3Uri(String s3Uri)
The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type.
s3Uri - The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on
the data type.public String getS3Uri()
The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type.
public AutoMLS3DataSource withS3Uri(String s3Uri)
The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type.
s3Uri - The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on
the data type.public String toString()
toString in class ObjectObject.toString()public AutoMLS3DataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.