Class CfnEndpointConfig.CaptureOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.CaptureOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfig.CaptureOptionProperty>
- Enclosing interface:
- CfnEndpointConfig.CaptureOptionProperty
@Stability(Stable)
public static final class CfnEndpointConfig.CaptureOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfig.CaptureOptionProperty>
A builder for
CfnEndpointConfig.CaptureOptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.captureMode(String captureMode) Sets the value ofCfnEndpointConfig.CaptureOptionProperty.getCaptureMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
captureMode
@Stability(Stable) public CfnEndpointConfig.CaptureOptionProperty.Builder captureMode(String captureMode) Sets the value ofCfnEndpointConfig.CaptureOptionProperty.getCaptureMode()- Parameters:
captureMode- Specifies whether the endpoint captures input data or output data. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.CaptureOptionProperty>- Returns:
- a new instance of
CfnEndpointConfig.CaptureOptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-