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
Constructors -
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 Amazon SageMaker AI 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 AI will treat as JSON and capture accordingly.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceExperiment.CaptureContentTypeHeaderProperty>- Returns:
- a new instance of
CfnInferenceExperiment.CaptureContentTypeHeaderProperty - Throws:
NullPointerException- if any required attribute was not provided
-