Interface CreateDataSourceFromS3Request.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDataSourceFromS3Request.Builder,CreateDataSourceFromS3Request>,MachineLearningRequest.Builder,SdkBuilder<CreateDataSourceFromS3Request.Builder,CreateDataSourceFromS3Request>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDataSourceFromS3Request
public static interface CreateDataSourceFromS3Request.Builder extends MachineLearningRequest.Builder, SdkPojo, CopyableBuilder<CreateDataSourceFromS3Request.Builder,CreateDataSourceFromS3Request>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDataSourceFromS3Request.BuildercomputeStatistics(Boolean computeStatistics)The compute statistics for aDataSource.CreateDataSourceFromS3Request.BuilderdataSourceId(String dataSourceId)A user-supplied identifier that uniquely identifies theDataSource.CreateDataSourceFromS3Request.BuilderdataSourceName(String dataSourceName)A user-supplied name or description of theDataSource.default CreateDataSourceFromS3Request.BuilderdataSpec(Consumer<S3DataSpec.Builder> dataSpec)The data specification of aDataSource:CreateDataSourceFromS3Request.BuilderdataSpec(S3DataSpec dataSpec)The data specification of aDataSource:CreateDataSourceFromS3Request.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDataSourceFromS3Request.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.machinelearning.model.MachineLearningRequest.Builder
build
-
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
-
dataSourceId
CreateDataSourceFromS3Request.Builder dataSourceId(String dataSourceId)
A user-supplied identifier that uniquely identifies the
DataSource.- Parameters:
dataSourceId- A user-supplied identifier that uniquely identifies theDataSource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceName
CreateDataSourceFromS3Request.Builder dataSourceName(String dataSourceName)
A user-supplied name or description of the
DataSource.- Parameters:
dataSourceName- A user-supplied name or description of theDataSource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSpec
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
DataSchemaUriis specified. -
DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the
Datasource.Sample -
"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
- Parameters:
dataSpec- The data specification of aDataSource:-
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
DataSchemaUriis specified. -
DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the
Datasource.Sample -
"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dataSpec
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
DataSchemaUriis specified. -
DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the
Datasource.Sample -
"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
S3DataSpec.Builderavoiding the need to create one manually viaS3DataSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSpec(S3DataSpec).- Parameters:
dataSpec- a consumer that will call methods onS3DataSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataSpec(S3DataSpec)
-
-
computeStatistics
CreateDataSourceFromS3Request.Builder computeStatistics(Boolean computeStatistics)
The compute statistics for a
DataSource. The statistics are generated from the observation data referenced by aDataSource. Amazon ML uses the statistics internally duringMLModeltraining. This parameter must be set totrueif theDataSourceneeds to be used forMLModeltraining.- Parameters:
computeStatistics- The compute statistics for aDataSource. The statistics are generated from the observation data referenced by aDataSource. Amazon ML uses the statistics internally duringMLModeltraining. This parameter must be set totrueif theDataSourceneeds to be used forMLModeltraining.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDataSourceFromS3Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDataSourceFromS3Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-