Class CfnAlgorithmMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnAlgorithmMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlgorithmMixinProps>
- Enclosing interface:
CfnAlgorithmMixinProps
@Stability(Stable)
public static final class CfnAlgorithmMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlgorithmMixinProps>
A builder for
CfnAlgorithmMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalgorithmDescription(String algorithmDescription) Sets the value ofCfnAlgorithmMixinProps.getAlgorithmDescription()algorithmName(String algorithmName) Sets the value ofCfnAlgorithmMixinProps.getAlgorithmName()build()Builds the configured instance.certifyForMarketplace(Boolean certifyForMarketplace) Sets the value ofCfnAlgorithmMixinProps.getCertifyForMarketplace()certifyForMarketplace(IResolvable certifyForMarketplace) Sets the value ofCfnAlgorithmMixinProps.getCertifyForMarketplace()inferenceSpecification(CfnAlgorithmPropsMixin.InferenceSpecificationProperty inferenceSpecification) Sets the value ofCfnAlgorithmMixinProps.getInferenceSpecification()inferenceSpecification(IResolvable inferenceSpecification) Sets the value ofCfnAlgorithmMixinProps.getInferenceSpecification()Sets the value ofCfnAlgorithmMixinProps.getTags()trainingSpecification(CfnAlgorithmPropsMixin.TrainingSpecificationProperty trainingSpecification) Sets the value ofCfnAlgorithmMixinProps.getTrainingSpecification()trainingSpecification(IResolvable trainingSpecification) Sets the value ofCfnAlgorithmMixinProps.getTrainingSpecification()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
algorithmDescription
@Stability(Stable) public CfnAlgorithmMixinProps.Builder algorithmDescription(String algorithmDescription) Sets the value ofCfnAlgorithmMixinProps.getAlgorithmDescription()- Parameters:
algorithmDescription- A description of the algorithm.- Returns:
this
-
algorithmName
Sets the value ofCfnAlgorithmMixinProps.getAlgorithmName()- Parameters:
algorithmName- The name of the algorithm.- Returns:
this
-
certifyForMarketplace
@Stability(Stable) public CfnAlgorithmMixinProps.Builder certifyForMarketplace(Boolean certifyForMarketplace) Sets the value ofCfnAlgorithmMixinProps.getCertifyForMarketplace()- Parameters:
certifyForMarketplace- Whether to certify the algorithm so that it can be listed in AWS Marketplace.- Returns:
this
-
certifyForMarketplace
@Stability(Stable) public CfnAlgorithmMixinProps.Builder certifyForMarketplace(IResolvable certifyForMarketplace) Sets the value ofCfnAlgorithmMixinProps.getCertifyForMarketplace()- Parameters:
certifyForMarketplace- Whether to certify the algorithm so that it can be listed in AWS Marketplace.- Returns:
this
-
inferenceSpecification
@Stability(Stable) public CfnAlgorithmMixinProps.Builder inferenceSpecification(IResolvable inferenceSpecification) Sets the value ofCfnAlgorithmMixinProps.getInferenceSpecification()- Parameters:
inferenceSpecification- the value to be set.- Returns:
this
-
inferenceSpecification
@Stability(Stable) public CfnAlgorithmMixinProps.Builder inferenceSpecification(CfnAlgorithmPropsMixin.InferenceSpecificationProperty inferenceSpecification) Sets the value ofCfnAlgorithmMixinProps.getInferenceSpecification()- Parameters:
inferenceSpecification- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnAlgorithmMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
trainingSpecification
@Stability(Stable) public CfnAlgorithmMixinProps.Builder trainingSpecification(IResolvable trainingSpecification) Sets the value ofCfnAlgorithmMixinProps.getTrainingSpecification()- Parameters:
trainingSpecification- the value to be set.- Returns:
this
-
trainingSpecification
@Stability(Stable) public CfnAlgorithmMixinProps.Builder trainingSpecification(CfnAlgorithmPropsMixin.TrainingSpecificationProperty trainingSpecification) Sets the value ofCfnAlgorithmMixinProps.getTrainingSpecification()- Parameters:
trainingSpecification- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlgorithmMixinProps>- Returns:
- a new instance of
CfnAlgorithmMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-