Class CfnInferenceExperiment.CaptureContentTypeHeaderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnInferenceExperiment.CaptureContentTypeHeaderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceExperiment.CaptureContentTypeHeaderProperty>
- Enclosing interface:
CfnInferenceExperiment.CaptureContentTypeHeaderProperty
@Stability(Stable)
public static final class CfnInferenceExperiment.CaptureContentTypeHeaderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceExperiment.CaptureContentTypeHeaderProperty>
A builder for
CfnInferenceExperiment.CaptureContentTypeHeaderProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.csvContentTypes
(List<String> csvContentTypes) jsonContentTypes
(List<String> jsonContentTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
csvContentTypes
@Stability(Stable) public CfnInferenceExperiment.CaptureContentTypeHeaderProperty.Builder csvContentTypes(List<String> csvContentTypes) - Parameters:
csvContentTypes
- The list of all content type headers that SageMaker will treat as CSV and capture accordingly.- Returns:
this
-
jsonContentTypes
@Stability(Stable) public CfnInferenceExperiment.CaptureContentTypeHeaderProperty.Builder jsonContentTypes(List<String> jsonContentTypes) - Parameters:
jsonContentTypes
- The list of all content type headers that SageMaker will treat as JSON and capture accordingly.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInferenceExperiment.CaptureContentTypeHeaderProperty>
- Returns:
- a new instance of
CfnInferenceExperiment.CaptureContentTypeHeaderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-