@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Configuration for Dataset Definition inputs. The Dataset Definition input must specify exactly one of either
AthenaDatasetDefinition
or RedshiftDatasetDefinition
types.
Constructor and Description |
---|
DatasetDefinition() |
Modifier and Type | Method and Description |
---|---|
DatasetDefinition |
clone() |
boolean |
equals(Object obj) |
AthenaDatasetDefinition |
getAthenaDatasetDefinition() |
String |
getDataDistributionType()
Whether the generated dataset is
FullyReplicated or ShardedByS3Key (default). |
String |
getInputMode()
Whether to use
File or Pipe input mode. |
String |
getLocalPath()
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.
|
RedshiftDatasetDefinition |
getRedshiftDatasetDefinition() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAthenaDatasetDefinition(AthenaDatasetDefinition athenaDatasetDefinition) |
void |
setDataDistributionType(String dataDistributionType)
Whether the generated dataset is
FullyReplicated or ShardedByS3Key (default). |
void |
setInputMode(String inputMode)
Whether to use
File or Pipe input mode. |
void |
setLocalPath(String localPath)
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.
|
void |
setRedshiftDatasetDefinition(RedshiftDatasetDefinition redshiftDatasetDefinition) |
String |
toString()
Returns a string representation of this object.
|
DatasetDefinition |
withAthenaDatasetDefinition(AthenaDatasetDefinition athenaDatasetDefinition) |
DatasetDefinition |
withDataDistributionType(DataDistributionType dataDistributionType)
Whether the generated dataset is
FullyReplicated or ShardedByS3Key (default). |
DatasetDefinition |
withDataDistributionType(String dataDistributionType)
Whether the generated dataset is
FullyReplicated or ShardedByS3Key (default). |
DatasetDefinition |
withInputMode(InputMode inputMode)
Whether to use
File or Pipe input mode. |
DatasetDefinition |
withInputMode(String inputMode)
Whether to use
File or Pipe input mode. |
DatasetDefinition |
withLocalPath(String localPath)
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.
|
DatasetDefinition |
withRedshiftDatasetDefinition(RedshiftDatasetDefinition redshiftDatasetDefinition) |
public void setAthenaDatasetDefinition(AthenaDatasetDefinition athenaDatasetDefinition)
athenaDatasetDefinition
- public AthenaDatasetDefinition getAthenaDatasetDefinition()
public DatasetDefinition withAthenaDatasetDefinition(AthenaDatasetDefinition athenaDatasetDefinition)
athenaDatasetDefinition
- public void setRedshiftDatasetDefinition(RedshiftDatasetDefinition redshiftDatasetDefinition)
redshiftDatasetDefinition
- public RedshiftDatasetDefinition getRedshiftDatasetDefinition()
public DatasetDefinition withRedshiftDatasetDefinition(RedshiftDatasetDefinition redshiftDatasetDefinition)
redshiftDatasetDefinition
- public void setLocalPath(String localPath)
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.
LocalPath
is an absolute path to the input data. This is a required parameter when
AppManaged
is False
(default).
localPath
- The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a
processing job. LocalPath
is an absolute path to the input data. This is a required parameter
when AppManaged
is False
(default).public String getLocalPath()
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.
LocalPath
is an absolute path to the input data. This is a required parameter when
AppManaged
is False
(default).
LocalPath
is an absolute path to the input data. This is a required
parameter when AppManaged
is False
(default).public DatasetDefinition withLocalPath(String localPath)
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.
LocalPath
is an absolute path to the input data. This is a required parameter when
AppManaged
is False
(default).
localPath
- The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a
processing job. LocalPath
is an absolute path to the input data. This is a required parameter
when AppManaged
is False
(default).public void setDataDistributionType(String dataDistributionType)
Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).
dataDistributionType
- Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).DataDistributionType
public String getDataDistributionType()
Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).
FullyReplicated
or ShardedByS3Key
(default).DataDistributionType
public DatasetDefinition withDataDistributionType(String dataDistributionType)
Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).
dataDistributionType
- Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).DataDistributionType
public DatasetDefinition withDataDistributionType(DataDistributionType dataDistributionType)
Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).
dataDistributionType
- Whether the generated dataset is FullyReplicated
or ShardedByS3Key
(default).DataDistributionType
public void setInputMode(String inputMode)
Whether to use File
or Pipe
input mode. In File
(default) mode, Amazon
SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes
before starting your training algorithm. This is the most commonly used input mode. In Pipe
mode,
Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
inputMode
- Whether to use File
or Pipe
input mode. In File
(default) mode,
Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon
EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In
Pipe
mode, Amazon SageMaker streams input data from the source directly to your algorithm
without using the EBS volume.InputMode
public String getInputMode()
Whether to use File
or Pipe
input mode. In File
(default) mode, Amazon
SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes
before starting your training algorithm. This is the most commonly used input mode. In Pipe
mode,
Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
File
or Pipe
input mode. In File
(default) mode,
Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon
EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In
Pipe
mode, Amazon SageMaker streams input data from the source directly to your algorithm
without using the EBS volume.InputMode
public DatasetDefinition withInputMode(String inputMode)
Whether to use File
or Pipe
input mode. In File
(default) mode, Amazon
SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes
before starting your training algorithm. This is the most commonly used input mode. In Pipe
mode,
Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
inputMode
- Whether to use File
or Pipe
input mode. In File
(default) mode,
Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon
EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In
Pipe
mode, Amazon SageMaker streams input data from the source directly to your algorithm
without using the EBS volume.InputMode
public DatasetDefinition withInputMode(InputMode inputMode)
Whether to use File
or Pipe
input mode. In File
(default) mode, Amazon
SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes
before starting your training algorithm. This is the most commonly used input mode. In Pipe
mode,
Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
inputMode
- Whether to use File
or Pipe
input mode. In File
(default) mode,
Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon
EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In
Pipe
mode, Amazon SageMaker streams input data from the source directly to your algorithm
without using the EBS volume.InputMode
public String toString()
toString
in class Object
Object.toString()
public DatasetDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.