Class CfnInferenceExperimentPropsMixin.DataStorageConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceExperimentPropsMixin.DataStorageConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.DataStorageConfigProperty>
- Enclosing interface:
CfnInferenceExperimentPropsMixin.DataStorageConfigProperty
@Stability(Stable)
public static final class CfnInferenceExperimentPropsMixin.DataStorageConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.DataStorageConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contentType(IResolvable contentType) destination(String destination) Sets the value ofCfnInferenceExperimentPropsMixin.DataStorageConfigProperty.getKmsKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentType
@Stability(Stable) public CfnInferenceExperimentPropsMixin.DataStorageConfigProperty.Builder contentType(IResolvable contentType) - Parameters:
contentType- Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.- Returns:
this
-
contentType
@Stability(Stable) public CfnInferenceExperimentPropsMixin.DataStorageConfigProperty.Builder contentType(CfnInferenceExperimentPropsMixin.CaptureContentTypeHeaderProperty contentType) - Parameters:
contentType- Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.- Returns:
this
-
destination
@Stability(Stable) public CfnInferenceExperimentPropsMixin.DataStorageConfigProperty.Builder destination(String destination) - Parameters:
destination- The Amazon S3 bucket where the inference request and response data is stored.- Returns:
this
-
kmsKey
@Stability(Stable) public CfnInferenceExperimentPropsMixin.DataStorageConfigProperty.Builder kmsKey(String kmsKey) Sets the value ofCfnInferenceExperimentPropsMixin.DataStorageConfigProperty.getKmsKey()- Parameters:
kmsKey- The AWS Key Management Service key that Amazon SageMaker uses to encrypt captured data at rest using Amazon S3 server-side encryption.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceExperimentPropsMixin.DataStorageConfigProperty>- Returns:
- a new instance of
CfnInferenceExperimentPropsMixin.DataStorageConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-