public static interface CreateDataSourceFromS3Request.Builder extends MachineLearningRequest.Builder, CopyableBuilder<CreateDataSourceFromS3Request.Builder,CreateDataSourceFromS3Request>
| Modifier and Type | Method and Description |
|---|---|
CreateDataSourceFromS3Request.Builder |
computeStatistics(Boolean computeStatistics)
The compute statistics for a
DataSource. |
CreateDataSourceFromS3Request.Builder |
dataSourceId(String dataSourceId)
A user-supplied identifier that uniquely identifies the
DataSource. |
CreateDataSourceFromS3Request.Builder |
dataSourceName(String dataSourceName)
A user-supplied name or description of the
DataSource. |
default CreateDataSourceFromS3Request.Builder |
dataSpec(Consumer<S3DataSpec.Builder> dataSpec)
The data specification of a
DataSource: |
CreateDataSourceFromS3Request.Builder |
dataSpec(S3DataSpec dataSpec)
The data specification of a
DataSource: |
CreateDataSourceFromS3Request.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateDataSourceFromS3Request.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildCreateDataSourceFromS3Request.Builder dataSourceId(String dataSourceId)
A user-supplied identifier that uniquely identifies the DataSource.
dataSourceId - A user-supplied identifier that uniquely identifies the DataSource.CreateDataSourceFromS3Request.Builder dataSourceName(String dataSourceName)
A user-supplied name or description of the DataSource.
dataSourceName - A user-supplied name or description of the DataSource.CreateDataSourceFromS3Request.Builder dataSpec(S3DataSpec dataSpec)
The data specification of a DataSource:
DataLocationS3 - The Amazon S3 location of the observation data.
DataSchemaLocationS3 - The Amazon S3 location of the DataSchema.
DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is
specified.
DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the
Datasource.
Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
dataSpec - The data specification of a DataSource:
DataLocationS3 - The Amazon S3 location of the observation data.
DataSchemaLocationS3 - The Amazon S3 location of the DataSchema.
DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri
is specified.
DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the
Datasource.
Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
default CreateDataSourceFromS3Request.Builder dataSpec(Consumer<S3DataSpec.Builder> dataSpec)
The data specification of a DataSource:
DataLocationS3 - The Amazon S3 location of the observation data.
DataSchemaLocationS3 - The Amazon S3 location of the DataSchema.
DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is
specified.
DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the
Datasource.
Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
S3DataSpec.Builder avoiding the need to create
one manually via S3DataSpec.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to dataSpec(S3DataSpec).dataSpec - a consumer that will call methods on S3DataSpec.BuilderdataSpec(S3DataSpec)CreateDataSourceFromS3Request.Builder computeStatistics(Boolean computeStatistics)
The compute statistics for a DataSource. The statistics are generated from the observation data
referenced by a DataSource. Amazon ML uses the statistics internally during MLModel
training. This parameter must be set to true if the DataSource needs
to be used for MLModel training.
computeStatistics - The compute statistics for a DataSource. The statistics are generated from the
observation data referenced by a DataSource. Amazon ML uses the statistics internally
during MLModel training. This parameter must be set to true if the
DataSource needs to be used for MLModel training.CreateDataSourceFromS3Request.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateDataSourceFromS3Request.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.