Class CfnAlgorithm.ChannelSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnAlgorithm.ChannelSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlgorithm.ChannelSpecificationProperty>
- Enclosing interface:
CfnAlgorithm.ChannelSpecificationProperty
@Stability(Stable)
public static final class CfnAlgorithm.ChannelSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlgorithm.ChannelSpecificationProperty>
A builder for
CfnAlgorithm.ChannelSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getDescription()isRequired(Boolean isRequired) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getIsRequired()isRequired(IResolvable isRequired) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getIsRequired()Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getName()supportedCompressionTypes(List<String> supportedCompressionTypes) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getSupportedCompressionTypes()supportedContentTypes(List<String> supportedContentTypes) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getSupportedContentTypes()supportedInputModes(List<String> supportedInputModes) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getSupportedInputModes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getName()- Parameters:
name- the value to be set. This parameter is required.- Returns:
this
-
supportedContentTypes
@Stability(Stable) public CfnAlgorithm.ChannelSpecificationProperty.Builder supportedContentTypes(List<String> supportedContentTypes) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getSupportedContentTypes()- Parameters:
supportedContentTypes- the value to be set. This parameter is required.- Returns:
this
-
supportedInputModes
@Stability(Stable) public CfnAlgorithm.ChannelSpecificationProperty.Builder supportedInputModes(List<String> supportedInputModes) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getSupportedInputModes()- Parameters:
supportedInputModes- the value to be set. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnAlgorithm.ChannelSpecificationProperty.Builder description(String description) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
isRequired
@Stability(Stable) public CfnAlgorithm.ChannelSpecificationProperty.Builder isRequired(Boolean isRequired) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getIsRequired()- Parameters:
isRequired- the value to be set.- Returns:
this
-
isRequired
@Stability(Stable) public CfnAlgorithm.ChannelSpecificationProperty.Builder isRequired(IResolvable isRequired) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getIsRequired()- Parameters:
isRequired- the value to be set.- Returns:
this
-
supportedCompressionTypes
@Stability(Stable) public CfnAlgorithm.ChannelSpecificationProperty.Builder supportedCompressionTypes(List<String> supportedCompressionTypes) Sets the value ofCfnAlgorithm.ChannelSpecificationProperty.getSupportedCompressionTypes()- Parameters:
supportedCompressionTypes- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlgorithm.ChannelSpecificationProperty>- Returns:
- a new instance of
CfnAlgorithm.ChannelSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-