Class CfnProcessingJob.S3OutputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnProcessingJob.S3OutputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJob.S3OutputProperty>
- Enclosing interface:
CfnProcessingJob.S3OutputProperty
@Stability(Stable)
public static final class CfnProcessingJob.S3OutputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcessingJob.S3OutputProperty>
A builder for
CfnProcessingJob.S3OutputProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnProcessingJob.S3OutputProperty.getLocalPath()
s3UploadMode
(String s3UploadMode) Sets the value ofCfnProcessingJob.S3OutputProperty.getS3UploadMode()
Sets the value ofCfnProcessingJob.S3OutputProperty.getS3Uri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3UploadMode
@Stability(Stable) public CfnProcessingJob.S3OutputProperty.Builder s3UploadMode(String s3UploadMode) Sets the value ofCfnProcessingJob.S3OutputProperty.getS3UploadMode()
- Parameters:
s3UploadMode
- Whether to upload the results of the processing job continuously or after the job completes. This parameter is required.- Returns:
this
-
s3Uri
Sets the value ofCfnProcessingJob.S3OutputProperty.getS3Uri()
- Parameters:
s3Uri
- The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing job. This parameter is required.- Returns:
this
-
localPath
Sets the value ofCfnProcessingJob.S3OutputProperty.getLocalPath()
- Parameters:
localPath
- The local path of a directory where you want Amazon SageMaker to upload its contents to Amazon S3.LocalPath
is an absolute path to a directory containing output files. This directory will be created by the platform and exist when your container's entrypoint is invoked.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProcessingJob.S3OutputProperty>
- Returns:
- a new instance of
CfnProcessingJob.S3OutputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-