Interface CreateDataSourceFromS3Request.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateDataSourceFromS3Request.Builder,,- CreateDataSourceFromS3Request> - MachineLearningRequest.Builder,- SdkBuilder<CreateDataSourceFromS3Request.Builder,,- CreateDataSourceFromS3Request> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateDataSourceFromS3Request
- 
Method SummaryModifier and TypeMethodDescriptioncomputeStatistics(Boolean computeStatistics) The compute statistics for aDataSource.dataSourceId(String dataSourceId) A user-supplied identifier that uniquely identifies theDataSource.dataSourceName(String dataSourceName) A user-supplied name or description of theDataSource.dataSpec(Consumer<S3DataSpec.Builder> dataSpec) The data specification of aDataSource:dataSpec(S3DataSpec dataSpec) The data specification of aDataSource:overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.machinelearning.model.MachineLearningRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
dataSourceIdA user-supplied identifier that uniquely identifies the DataSource.- Parameters:
- dataSourceId- A user-supplied identifier that uniquely identifies the- DataSource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSourceNameA user-supplied name or description of the DataSource.- Parameters:
- dataSourceName- A user-supplied name or description of the- DataSource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dataSpecThe 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 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}}"
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
dataSpecThe 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 on- S3DataSpec.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
computeStatisticsThe 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 a- DataSource. The statistics are generated from the observation data referenced by a- DataSource. Amazon ML uses the statistics internally during- MLModeltraining. This parameter must be set to- trueif the- DataSource- needs to be used for- MLModeltraining.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateDataSourceFromS3Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateDataSourceFromS3Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-