Class CfnExperimentProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnExperimentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentProps>
- Enclosing interface:
CfnExperimentProps
@Stability(Stable)
public static final class CfnExperimentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentProps>
A builder for
CfnExperimentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnExperimentProps.getDescription()displayName(String displayName) Sets the value ofCfnExperimentProps.getDisplayName()experimentName(String experimentName) Sets the value ofCfnExperimentProps.getExperimentName()tags(List<? extends CfnExperiment.TagsItemsProperty> tags) Sets the value ofCfnExperimentProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
experimentName
Sets the value ofCfnExperimentProps.getExperimentName()- Parameters:
experimentName- The name of the experiment. This parameter is required. Must be unique in your AWS account and is not case-sensitive.- Returns:
this
-
description
Sets the value ofCfnExperimentProps.getDescription()- Parameters:
description- The description of the experiment.- Returns:
this
-
displayName
Sets the value ofCfnExperimentProps.getDisplayName()- Parameters:
displayName- The name of the experiment as displayed. The name does not need to be unique.- Returns:
this
-
tags
@Stability(Stable) public CfnExperimentProps.Builder tags(List<? extends CfnExperiment.TagsItemsProperty> tags) Sets the value ofCfnExperimentProps.getTags()- Parameters:
tags- A list of tags to associate with the experiment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperimentProps>- Returns:
- a new instance of
CfnExperimentProps - Throws:
NullPointerException- if any required attribute was not provided
-