Class DatasetDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.DatasetDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetDefinition.Builder,DatasetDefinition>
@Generated("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
AthenaDatasetDefinitionorRedshiftDatasetDefinitiontypes.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AthenaDatasetDefinitionathenaDatasetDefinition()Returns the value of the AthenaDatasetDefinition property for this object.static DatasetDefinition.Builderbuilder()DataDistributionTypedataDistributionType()Whether the generated dataset isFullyReplicatedorShardedByS3Key(default).StringdataDistributionTypeAsString()Whether the generated dataset isFullyReplicatedorShardedByS3Key(default).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InputModeinputMode()Whether to useFileorPipeinput mode.StringinputModeAsString()Whether to useFileorPipeinput mode.StringlocalPath()The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.RedshiftDatasetDefinitionredshiftDatasetDefinition()Returns the value of the RedshiftDatasetDefinition property for this object.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DatasetDefinition.Builder>serializableBuilderClass()DatasetDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
athenaDatasetDefinition
public final AthenaDatasetDefinition athenaDatasetDefinition()
Returns the value of the AthenaDatasetDefinition property for this object.- Returns:
- The value of the AthenaDatasetDefinition property for this object.
-
redshiftDatasetDefinition
public final RedshiftDatasetDefinition redshiftDatasetDefinition()
Returns the value of the RedshiftDatasetDefinition property for this object.- Returns:
- The value of the RedshiftDatasetDefinition property for this object.
-
localPath
public final String localPath()
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.
LocalPathis an absolute path to the input data. This is a required parameter whenAppManagedisFalse(default).- Returns:
- The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a
processing job.
LocalPathis an absolute path to the input data. This is a required parameter whenAppManagedisFalse(default).
-
dataDistributionType
public final DataDistributionType dataDistributionType()
Whether the generated dataset is
FullyReplicatedorShardedByS3Key(default).If the service returns an enum value that is not available in the current SDK version,
dataDistributionTypewill returnDataDistributionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataDistributionTypeAsString().- Returns:
- Whether the generated dataset is
FullyReplicatedorShardedByS3Key(default). - See Also:
DataDistributionType
-
dataDistributionTypeAsString
public final String dataDistributionTypeAsString()
Whether the generated dataset is
FullyReplicatedorShardedByS3Key(default).If the service returns an enum value that is not available in the current SDK version,
dataDistributionTypewill returnDataDistributionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataDistributionTypeAsString().- Returns:
- Whether the generated dataset is
FullyReplicatedorShardedByS3Key(default). - See Also:
DataDistributionType
-
inputMode
public final InputMode inputMode()
Whether to use
FileorPipeinput mode. InFile(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. InPipemode, 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,
inputModewill returnInputMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominputModeAsString().- Returns:
- Whether to use
FileorPipeinput mode. InFile(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. InPipemode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume. - See Also:
InputMode
-
inputModeAsString
public final String inputModeAsString()
Whether to use
FileorPipeinput mode. InFile(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. InPipemode, 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,
inputModewill returnInputMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominputModeAsString().- Returns:
- Whether to use
FileorPipeinput mode. InFile(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. InPipemode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume. - See Also:
InputMode
-
toBuilder
public DatasetDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetDefinition.Builder,DatasetDefinition>
-
builder
public static DatasetDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-