Class CfnEndpointConfig.CaptureContentTypeHeaderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.CaptureContentTypeHeaderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfig.CaptureContentTypeHeaderProperty>
- Enclosing interface:
CfnEndpointConfig.CaptureContentTypeHeaderProperty
@Stability(Stable)
public static final class CfnEndpointConfig.CaptureContentTypeHeaderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfig.CaptureContentTypeHeaderProperty>
A builder for
CfnEndpointConfig.CaptureContentTypeHeaderProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.csvContentTypes
(List<String> csvContentTypes) Sets the value ofCfnEndpointConfig.CaptureContentTypeHeaderProperty.getCsvContentTypes()
jsonContentTypes
(List<String> jsonContentTypes) Sets the value ofCfnEndpointConfig.CaptureContentTypeHeaderProperty.getJsonContentTypes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
csvContentTypes
@Stability(Stable) public CfnEndpointConfig.CaptureContentTypeHeaderProperty.Builder csvContentTypes(List<String> csvContentTypes) Sets the value ofCfnEndpointConfig.CaptureContentTypeHeaderProperty.getCsvContentTypes()
- Parameters:
csvContentTypes
- A list of the CSV content types of the data that the endpoint captures. For the endpoint to capture the data, you must also specify the content type when you invoke the endpoint.- Returns:
this
-
jsonContentTypes
@Stability(Stable) public CfnEndpointConfig.CaptureContentTypeHeaderProperty.Builder jsonContentTypes(List<String> jsonContentTypes) Sets the value ofCfnEndpointConfig.CaptureContentTypeHeaderProperty.getJsonContentTypes()
- Parameters:
jsonContentTypes
- A list of the JSON content types of the data that the endpoint captures. For the endpoint to capture the data, you must also specify the content type when you invoke the endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.CaptureContentTypeHeaderProperty>
- Returns:
- a new instance of
CfnEndpointConfig.CaptureContentTypeHeaderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-