Class CfnModelBiasJobDefinition.S3OutputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelBiasJobDefinition.S3OutputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelBiasJobDefinition.S3OutputProperty>
- Enclosing interface:
CfnModelBiasJobDefinition.S3OutputProperty
@Stability(Stable)
public static final class CfnModelBiasJobDefinition.S3OutputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelBiasJobDefinition.S3OutputProperty>
A builder for
CfnModelBiasJobDefinition.S3OutputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnModelBiasJobDefinition.S3OutputProperty.getLocalPath()
s3UploadMode
(String s3UploadMode) Sets the value ofCfnModelBiasJobDefinition.S3OutputProperty.getS3UploadMode()
Sets the value ofCfnModelBiasJobDefinition.S3OutputProperty.getS3Uri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
localPath
@Stability(Stable) public CfnModelBiasJobDefinition.S3OutputProperty.Builder localPath(String localPath) Sets the value ofCfnModelBiasJobDefinition.S3OutputProperty.getLocalPath()
- Parameters:
localPath
- The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. This parameter is required.LocalPath
is an absolute path for the output data.- Returns:
this
-
s3Uri
Sets the value ofCfnModelBiasJobDefinition.S3OutputProperty.getS3Uri()
- Parameters:
s3Uri
- A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. This parameter is required.- Returns:
this
-
s3UploadMode
@Stability(Stable) public CfnModelBiasJobDefinition.S3OutputProperty.Builder s3UploadMode(String s3UploadMode) Sets the value ofCfnModelBiasJobDefinition.S3OutputProperty.getS3UploadMode()
- Parameters:
s3UploadMode
- Whether to upload the results of the monitoring job continuously or after the job completes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModelBiasJobDefinition.S3OutputProperty>
- Returns:
- a new instance of
CfnModelBiasJobDefinition.S3OutputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-