Class CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlgorithmPropsMixin.InferenceSpecificationProperty>
- Enclosing interface:
CfnAlgorithmPropsMixin.InferenceSpecificationProperty
@Stability(Stable)
public static final class CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlgorithmPropsMixin.InferenceSpecificationProperty>
A builder for
CfnAlgorithmPropsMixin.InferenceSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containers(List<? extends Object> containers) Sets the value ofCfnAlgorithmPropsMixin.InferenceSpecificationProperty.getContainers()containers(IResolvable containers) Sets the value ofCfnAlgorithmPropsMixin.InferenceSpecificationProperty.getContainers()supportedContentTypes(List<String> supportedContentTypes) supportedRealtimeInferenceInstanceTypes(List<String> supportedRealtimeInferenceInstanceTypes) supportedResponseMimeTypes(List<String> supportedResponseMimeTypes) supportedTransformInstanceTypes(List<String> supportedTransformInstanceTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containers
@Stability(Stable) public CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Builder containers(IResolvable containers) Sets the value ofCfnAlgorithmPropsMixin.InferenceSpecificationProperty.getContainers()- Parameters:
containers- the value to be set.- Returns:
this
-
containers
@Stability(Stable) public CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Builder containers(List<? extends Object> containers) Sets the value ofCfnAlgorithmPropsMixin.InferenceSpecificationProperty.getContainers()- Parameters:
containers- the value to be set.- Returns:
this
-
supportedContentTypes
@Stability(Stable) public CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Builder supportedContentTypes(List<String> supportedContentTypes) - Parameters:
supportedContentTypes- the value to be set.- Returns:
this
-
supportedRealtimeInferenceInstanceTypes
@Stability(Stable) public CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Builder supportedRealtimeInferenceInstanceTypes(List<String> supportedRealtimeInferenceInstanceTypes) Sets the value ofCfnAlgorithmPropsMixin.InferenceSpecificationProperty.getSupportedRealtimeInferenceInstanceTypes()- Parameters:
supportedRealtimeInferenceInstanceTypes- the value to be set.- Returns:
this
-
supportedResponseMimeTypes
@Stability(Stable) public CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Builder supportedResponseMimeTypes(List<String> supportedResponseMimeTypes) Sets the value ofCfnAlgorithmPropsMixin.InferenceSpecificationProperty.getSupportedResponseMimeTypes()- Parameters:
supportedResponseMimeTypes- the value to be set.- Returns:
this
-
supportedTransformInstanceTypes
@Stability(Stable) public CfnAlgorithmPropsMixin.InferenceSpecificationProperty.Builder supportedTransformInstanceTypes(List<String> supportedTransformInstanceTypes) Sets the value ofCfnAlgorithmPropsMixin.InferenceSpecificationProperty.getSupportedTransformInstanceTypes()- Parameters:
supportedTransformInstanceTypes- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlgorithmPropsMixin.InferenceSpecificationProperty>- Returns:
- a new instance of
CfnAlgorithmPropsMixin.InferenceSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-