Class CfnExperiment.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnExperiment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperiment>
- Enclosing class:
CfnExperiment
@Stability(Stable)
public static final class CfnExperiment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperiment>
A fluent builder for
CfnExperiment.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnExperiment.Builderdescription(String description) The description of the experiment.displayName(String displayName) The name of the experiment as displayed.experimentName(String experimentName) The name of the experiment.tags(List<? extends CfnExperiment.TagsItemsProperty> tags) A list of tags to associate with the experiment.
-
Method Details
-
create
@Stability(Stable) public static CfnExperiment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnExperiment.Builder.
-
experimentName
The name of the experiment.Must be unique in your AWS account and is not case-sensitive.
- Parameters:
experimentName- The name of the experiment. This parameter is required.- Returns:
this- See Also:
-
description
The description of the experiment.- Parameters:
description- The description of the experiment. This parameter is required.- Returns:
this- See Also:
-
displayName
The name of the experiment as displayed.The name does not need to be unique.
- Parameters:
displayName- The name of the experiment as displayed. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnExperiment.Builder tags(List<? extends CfnExperiment.TagsItemsProperty> tags) A list of tags to associate with the experiment.- Parameters:
tags- A list of tags to associate with the experiment. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExperiment>- Returns:
- a newly built instance of
CfnExperiment.
-