Package com.datarobot.model
Class DatasetUrlSource
- java.lang.Object
-
- com.datarobot.model.DatasetUrlSource
-
- All Implemented Interfaces:
IDatasetSource,java.io.Serializable
public class DatasetUrlSource extends java.lang.Object implements IDatasetSource, java.io.Serializable
Internal A IDatasetSource that provides a URL that the DataRobot AI API will ingest for building a model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatasetUrlSource(java.lang.String name, java.net.URI uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetContentType()java.lang.StringgetName()java.net.URIgetURI()voidsetAdditionalProperty(java.lang.String name, java.lang.Object value)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceIDatasetSource- Returns:
- The name of the DataSource
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentTypein interfaceIDatasetSource- Returns:
- The Content-Type of the stream. Currently only text/csv is supported.
-
getURI
public java.net.URI getURI()
- Returns:
- The URI of the Datasource
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
setAdditionalProperty
public void setAdditionalProperty(java.lang.String name, java.lang.Object value)
-
-