Class CfnTransformJob.DataCaptureConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnTransformJob.DataCaptureConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformJob.DataCaptureConfigProperty>
- Enclosing interface:
CfnTransformJob.DataCaptureConfigProperty
@Stability(Stable)
public static final class CfnTransformJob.DataCaptureConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformJob.DataCaptureConfigProperty>
A builder for
CfnTransformJob.DataCaptureConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationS3Uri(String destinationS3Uri) Sets the value ofCfnTransformJob.DataCaptureConfigProperty.getDestinationS3Uri()generateInferenceId(Boolean generateInferenceId) Sets the value ofCfnTransformJob.DataCaptureConfigProperty.getGenerateInferenceId()generateInferenceId(IResolvable generateInferenceId) Sets the value ofCfnTransformJob.DataCaptureConfigProperty.getGenerateInferenceId()Sets the value ofCfnTransformJob.DataCaptureConfigProperty.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationS3Uri
@Stability(Stable) public CfnTransformJob.DataCaptureConfigProperty.Builder destinationS3Uri(String destinationS3Uri) Sets the value ofCfnTransformJob.DataCaptureConfigProperty.getDestinationS3Uri()- Parameters:
destinationS3Uri- The Amazon S3 location being used to capture the data. This parameter is required.- Returns:
this
-
generateInferenceId
@Stability(Stable) public CfnTransformJob.DataCaptureConfigProperty.Builder generateInferenceId(Boolean generateInferenceId) Sets the value ofCfnTransformJob.DataCaptureConfigProperty.getGenerateInferenceId()- Parameters:
generateInferenceId- Flag that indicates whether to append inference id to the output.- Returns:
this
-
generateInferenceId
@Stability(Stable) public CfnTransformJob.DataCaptureConfigProperty.Builder generateInferenceId(IResolvable generateInferenceId) Sets the value ofCfnTransformJob.DataCaptureConfigProperty.getGenerateInferenceId()- Parameters:
generateInferenceId- Flag that indicates whether to append inference id to the output.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnTransformJob.DataCaptureConfigProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnTransformJob.DataCaptureConfigProperty.getKmsKeyId()- Parameters:
kmsKeyId- The ARN of a KMS key that SageMaker uses to encrypt data on the storage volume.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformJob.DataCaptureConfigProperty>- Returns:
- a new instance of
CfnTransformJob.DataCaptureConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-