Class CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty>
- Enclosing interface:
CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty
@Stability(Stable)
public static final class CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.notificationConfig(CfnEndpointConfigPropsMixin.AsyncInferenceNotificationConfigProperty notificationConfig) notificationConfig(IResolvable notificationConfig) s3FailurePath(String s3FailurePath) s3OutputPath(String s3OutputPath)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyId
@Stability(Stable) public CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.Builder kmsKeyId(String kmsKeyId) - Parameters:
kmsKeyId- The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the asynchronous inference output in Amazon S3.- Returns:
this
-
notificationConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.Builder notificationConfig(IResolvable notificationConfig) Sets the value ofCfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.getNotificationConfig()- Parameters:
notificationConfig- Specifies the configuration for notifications of inference results for asynchronous inference.- Returns:
this
-
notificationConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.Builder notificationConfig(CfnEndpointConfigPropsMixin.AsyncInferenceNotificationConfigProperty notificationConfig) Sets the value ofCfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.getNotificationConfig()- Parameters:
notificationConfig- Specifies the configuration for notifications of inference results for asynchronous inference.- Returns:
this
-
s3FailurePath
@Stability(Stable) public CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.Builder s3FailurePath(String s3FailurePath) - Parameters:
s3FailurePath- The Amazon S3 location to upload failure inference responses to.- Returns:
this
-
s3OutputPath
@Stability(Stable) public CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty.Builder s3OutputPath(String s3OutputPath) - Parameters:
s3OutputPath- The Amazon S3 location to upload inference responses to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty>- Returns:
- a new instance of
CfnEndpointConfigPropsMixin.AsyncInferenceOutputConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-