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