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 Details

    • dataSourceId

      CreateDataSourceFromS3Request.Builder dataSourceId(String dataSourceId)

      A 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.
    • dataSourceName

      CreateDataSourceFromS3Request.Builder dataSourceName(String dataSourceName)

      A 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.
    • 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}}"

      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 DataSchemaUri is 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

      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}}"

      This is a convenience method that creates an instance of the 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).

      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:
    • computeStatistics

      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.

      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 MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateDataSourceFromS3Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.