Class CfnInferenceExperiment.DataStorageConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnInferenceExperiment.DataStorageConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceExperiment.DataStorageConfigProperty>
- Enclosing interface:
CfnInferenceExperiment.DataStorageConfigProperty
@Stability(Stable)
public static final class CfnInferenceExperiment.DataStorageConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceExperiment.DataStorageConfigProperty>
A builder for
CfnInferenceExperiment.DataStorageConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.contentType
(IResolvable contentType) Sets the value ofCfnInferenceExperiment.DataStorageConfigProperty.getContentType()
Sets the value ofCfnInferenceExperiment.DataStorageConfigProperty.getContentType()
destination
(String destination) Sets the value ofCfnInferenceExperiment.DataStorageConfigProperty.getDestination()
Sets the value ofCfnInferenceExperiment.DataStorageConfigProperty.getKmsKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
@Stability(Stable) public CfnInferenceExperiment.DataStorageConfigProperty.Builder destination(String destination) Sets the value ofCfnInferenceExperiment.DataStorageConfigProperty.getDestination()
- Parameters:
destination
- The Amazon S3 bucket where the inference request and response data is stored. This parameter is required.- Returns:
this
-
contentType
@Stability(Stable) public CfnInferenceExperiment.DataStorageConfigProperty.Builder contentType(IResolvable contentType) Sets the value ofCfnInferenceExperiment.DataStorageConfigProperty.getContentType()
- 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 CfnInferenceExperiment.DataStorageConfigProperty.Builder contentType(CfnInferenceExperiment.CaptureContentTypeHeaderProperty contentType) Sets the value ofCfnInferenceExperiment.DataStorageConfigProperty.getContentType()
- 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
-
kmsKey
@Stability(Stable) public CfnInferenceExperiment.DataStorageConfigProperty.Builder kmsKey(String kmsKey) Sets the value ofCfnInferenceExperiment.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnInferenceExperiment.DataStorageConfigProperty>
- Returns:
- a new instance of
CfnInferenceExperiment.DataStorageConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-