Interface DatasetDefinition.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DatasetDefinition.Builder,DatasetDefinition>, SdkBuilder<DatasetDefinition.Builder,DatasetDefinition>, SdkPojo
Enclosing class:
DatasetDefinition

public static interface DatasetDefinition.Builder extends SdkPojo, CopyableBuilder<DatasetDefinition.Builder,DatasetDefinition>
  • Method Details

    • athenaDatasetDefinition

      DatasetDefinition.Builder athenaDatasetDefinition(AthenaDatasetDefinition athenaDatasetDefinition)
      Sets the value of the AthenaDatasetDefinition property for this object.
      Parameters:
      athenaDatasetDefinition - The new value for the AthenaDatasetDefinition property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • athenaDatasetDefinition

      default DatasetDefinition.Builder athenaDatasetDefinition(Consumer<AthenaDatasetDefinition.Builder> athenaDatasetDefinition)
      Sets the value of the AthenaDatasetDefinition property for this object. This is a convenience method that creates an instance of the AthenaDatasetDefinition.Builder avoiding the need to create one manually via AthenaDatasetDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to athenaDatasetDefinition(AthenaDatasetDefinition).

      Parameters:
      athenaDatasetDefinition - a consumer that will call methods on AthenaDatasetDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • redshiftDatasetDefinition

      DatasetDefinition.Builder redshiftDatasetDefinition(RedshiftDatasetDefinition redshiftDatasetDefinition)
      Sets the value of the RedshiftDatasetDefinition property for this object.
      Parameters:
      redshiftDatasetDefinition - The new value for the RedshiftDatasetDefinition property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redshiftDatasetDefinition

      default DatasetDefinition.Builder redshiftDatasetDefinition(Consumer<RedshiftDatasetDefinition.Builder> redshiftDatasetDefinition)
      Sets the value of the RedshiftDatasetDefinition property for this object. This is a convenience method that creates an instance of the RedshiftDatasetDefinition.Builder avoiding the need to create one manually via RedshiftDatasetDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to redshiftDatasetDefinition(RedshiftDatasetDefinition).

      Parameters:
      redshiftDatasetDefinition - a consumer that will call methods on RedshiftDatasetDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • localPath

      DatasetDefinition.Builder localPath(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).

      Parameters:
      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).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataDistributionType

      DatasetDefinition.Builder dataDistributionType(String dataDistributionType)

      Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).

      Parameters:
      dataDistributionType - Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataDistributionType

      DatasetDefinition.Builder dataDistributionType(DataDistributionType dataDistributionType)

      Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).

      Parameters:
      dataDistributionType - Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputMode

      DatasetDefinition.Builder inputMode(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputMode

      DatasetDefinition.Builder inputMode(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: