@Generated(value="software.amazon.awssdk:codegen") public final class DatasetDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetDefinition.Builder,DatasetDefinition>
Configuration for Dataset Definition inputs. The Dataset Definition input must specify exactly one of either
AthenaDatasetDefinition or RedshiftDatasetDefinition types.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatasetDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
AthenaDatasetDefinition |
athenaDatasetDefinition()
Returns the value of the AthenaDatasetDefinition property for this object.
|
static DatasetDefinition.Builder |
builder() |
DataDistributionType |
dataDistributionType()
Whether the generated dataset is
FullyReplicated or ShardedByS3Key (default). |
String |
dataDistributionTypeAsString()
Whether the generated dataset is
FullyReplicated or ShardedByS3Key (default). |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InputMode |
inputMode()
Whether to use
File or Pipe input mode. |
String |
inputModeAsString()
Whether to use
File or Pipe input mode. |
String |
localPath()
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.
|
RedshiftDatasetDefinition |
redshiftDatasetDefinition()
Returns the value of the RedshiftDatasetDefinition property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatasetDefinition.Builder> |
serializableBuilderClass() |
DatasetDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic AthenaDatasetDefinition athenaDatasetDefinition()
public RedshiftDatasetDefinition redshiftDatasetDefinition()
public 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 is an absolute path to the input data. This is a required
parameter when AppManaged is False (default).public DataDistributionType dataDistributionType()
Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).
If the service returns an enum value that is not available in the current SDK version,
dataDistributionType will return DataDistributionType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dataDistributionTypeAsString().
FullyReplicated or ShardedByS3Key (default).DataDistributionTypepublic String dataDistributionTypeAsString()
Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).
If the service returns an enum value that is not available in the current SDK version,
dataDistributionType will return DataDistributionType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dataDistributionTypeAsString().
FullyReplicated or ShardedByS3Key (default).DataDistributionTypepublic 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.
If the service returns an enum value that is not available in the current SDK version, inputMode will
return InputMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
inputModeAsString().
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.InputModepublic String inputModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, inputMode will
return InputMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
inputModeAsString().
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.InputModepublic DatasetDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatasetDefinition.Builder,DatasetDefinition>public static DatasetDefinition.Builder builder()
public static Class<? extends DatasetDefinition.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.