public class S3DataSpec extends Object implements Serializable, Cloneable
 Describes the data specification of a DataSource.
 
| Constructor and Description | 
|---|
| S3DataSpec() | 
| Modifier and Type | Method and Description | 
|---|---|
| S3DataSpec | clone() | 
| boolean | equals(Object obj) | 
| String | getDataLocationS3()
 The location of the data file(s) used by a  DataSource. | 
| String | getDataRearrangement()
 Describes the splitting requirement of a  Datasource. | 
| String | getDataSchema()
 A JSON string that represents the schema for an Amazon S3
  DataSource. | 
| String | getDataSchemaLocationS3()
 Describes the schema Location in Amazon S3. | 
| int | hashCode() | 
| void | setDataLocationS3(String dataLocationS3)
 The location of the data file(s) used by a  DataSource. | 
| void | setDataRearrangement(String dataRearrangement)
 Describes the splitting requirement of a  Datasource. | 
| void | setDataSchema(String dataSchema)
 A JSON string that represents the schema for an Amazon S3
  DataSource. | 
| void | setDataSchemaLocationS3(String dataSchemaLocationS3)
 Describes the schema Location in Amazon S3. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| S3DataSpec | withDataLocationS3(String dataLocationS3)
 The location of the data file(s) used by a  DataSource. | 
| S3DataSpec | withDataRearrangement(String dataRearrangement)
 Describes the splitting requirement of a  Datasource. | 
| S3DataSpec | withDataSchema(String dataSchema)
 A JSON string that represents the schema for an Amazon S3
  DataSource. | 
| S3DataSpec | withDataSchemaLocationS3(String dataSchemaLocationS3)
 Describes the schema Location in Amazon S3. | 
public void setDataLocationS3(String dataLocationS3)
 The location of the data file(s) used by a DataSource. The
 URI specifies a data file or an Amazon Simple Storage Service (Amazon S3)
 directory or bucket containing data files.
 
dataLocationS3 - The location of the data file(s) used by a DataSource
        . The URI specifies a data file or an Amazon Simple Storage
        Service (Amazon S3) directory or bucket containing data files.public String getDataLocationS3()
 The location of the data file(s) used by a DataSource. The
 URI specifies a data file or an Amazon Simple Storage Service (Amazon S3)
 directory or bucket containing data files.
 
DataSource. The URI specifies a data file or an
         Amazon Simple Storage Service (Amazon S3) directory or bucket
         containing data files.public S3DataSpec withDataLocationS3(String dataLocationS3)
 The location of the data file(s) used by a DataSource. The
 URI specifies a data file or an Amazon Simple Storage Service (Amazon S3)
 directory or bucket containing data files.
 
dataLocationS3 - The location of the data file(s) used by a DataSource
        . The URI specifies a data file or an Amazon Simple Storage
        Service (Amazon S3) directory or bucket containing data files.public void setDataRearrangement(String dataRearrangement)
 Describes the splitting requirement of a Datasource.
 
dataRearrangement - Describes the splitting requirement of a Datasource.public String getDataRearrangement()
 Describes the splitting requirement of a Datasource.
 
Datasource.public S3DataSpec withDataRearrangement(String dataRearrangement)
 Describes the splitting requirement of a Datasource.
 
dataRearrangement - Describes the splitting requirement of a Datasource.public void setDataSchema(String dataSchema)
 A JSON string that represents the schema for an Amazon S3
 DataSource. The DataSchema defines the
 structure of the observation data in the data file(s) referenced in the
 DataSource.
 
 Define your DataSchema as a series of key-value pairs.
 attributes and excludedVariableNames have an
 array of key-value pairs for their value. Use the following format to
 define your DataSchema.
 
{ "version": "1.0",
"recordAnnotationFieldName": "F1",
"recordWeightFieldName": "F2",
"targetFieldName": "F3",
"dataFormat": "CSV",
"dataFileContainsHeader": true,
"attributes": [
{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],
"excludedVariableNames": [ "F6" ] }
dataSchema - A JSON string that represents the schema for an Amazon S3
        DataSource. The DataSchema defines the
        structure of the observation data in the data file(s) referenced
        in the DataSource.
        
        Define your DataSchema as a series of key-value
        pairs. attributes and
        excludedVariableNames have an array of key-value
        pairs for their value. Use the following format to define your
        DataSchema.
        
{ "version": "1.0",
"recordAnnotationFieldName": "F1",
"recordWeightFieldName": "F2",
"targetFieldName": "F3",
"dataFormat": "CSV",
"dataFileContainsHeader": true,
"attributes": [
{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],
"excludedVariableNames": [ "F6" ] }
public String getDataSchema()
 A JSON string that represents the schema for an Amazon S3
 DataSource. The DataSchema defines the
 structure of the observation data in the data file(s) referenced in the
 DataSource.
 
 Define your DataSchema as a series of key-value pairs.
 attributes and excludedVariableNames have an
 array of key-value pairs for their value. Use the following format to
 define your DataSchema.
 
{ "version": "1.0",
"recordAnnotationFieldName": "F1",
"recordWeightFieldName": "F2",
"targetFieldName": "F3",
"dataFormat": "CSV",
"dataFileContainsHeader": true,
"attributes": [
{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],
"excludedVariableNames": [ "F6" ] }
DataSource. The DataSchema defines the
         structure of the observation data in the data file(s) referenced
         in the DataSource.
         
         Define your DataSchema as a series of key-value
         pairs. attributes and
         excludedVariableNames have an array of key-value
         pairs for their value. Use the following format to define your
         DataSchema.
         
{ "version": "1.0",
"recordAnnotationFieldName": "F1",
"recordWeightFieldName": "F2",
"targetFieldName": "F3",
"dataFormat": "CSV",
"dataFileContainsHeader": true,
"attributes": [
{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],
"excludedVariableNames": [ "F6" ] }
public S3DataSpec withDataSchema(String dataSchema)
 A JSON string that represents the schema for an Amazon S3
 DataSource. The DataSchema defines the
 structure of the observation data in the data file(s) referenced in the
 DataSource.
 
 Define your DataSchema as a series of key-value pairs.
 attributes and excludedVariableNames have an
 array of key-value pairs for their value. Use the following format to
 define your DataSchema.
 
{ "version": "1.0",
"recordAnnotationFieldName": "F1",
"recordWeightFieldName": "F2",
"targetFieldName": "F3",
"dataFormat": "CSV",
"dataFileContainsHeader": true,
"attributes": [
{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],
"excludedVariableNames": [ "F6" ] }
dataSchema - A JSON string that represents the schema for an Amazon S3
        DataSource. The DataSchema defines the
        structure of the observation data in the data file(s) referenced
        in the DataSource.
        
        Define your DataSchema as a series of key-value
        pairs. attributes and
        excludedVariableNames have an array of key-value
        pairs for their value. Use the following format to define your
        DataSchema.
        
{ "version": "1.0",
"recordAnnotationFieldName": "F1",
"recordWeightFieldName": "F2",
"targetFieldName": "F3",
"dataFormat": "CSV",
"dataFileContainsHeader": true,
"attributes": [
{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],
"excludedVariableNames": [ "F6" ] }
public void setDataSchemaLocationS3(String dataSchemaLocationS3)
Describes the schema Location in Amazon S3.
dataSchemaLocationS3 - Describes the schema Location in Amazon S3.public String getDataSchemaLocationS3()
Describes the schema Location in Amazon S3.
public S3DataSpec withDataSchemaLocationS3(String dataSchemaLocationS3)
Describes the schema Location in Amazon S3.
dataSchemaLocationS3 - Describes the schema Location in Amazon S3.public String toString()
toString in class ObjectObject.toString()public S3DataSpec clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.