Class CfnProcessingJob.ExperimentConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnProcessingJob.ExperimentConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJob.ExperimentConfigProperty>
- Enclosing interface:
CfnProcessingJob.ExperimentConfigProperty
@Stability(Stable)
public static final class CfnProcessingJob.ExperimentConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcessingJob.ExperimentConfigProperty>
A builder for
CfnProcessingJob.ExperimentConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.experimentName(String experimentName) Sets the value ofCfnProcessingJob.ExperimentConfigProperty.getExperimentName()Sets the value ofCfnProcessingJob.ExperimentConfigProperty.getRunName()trialComponentDisplayName(String trialComponentDisplayName) Sets the value ofCfnProcessingJob.ExperimentConfigProperty.getTrialComponentDisplayName()Sets the value ofCfnProcessingJob.ExperimentConfigProperty.getTrialName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
experimentName
@Stability(Stable) public CfnProcessingJob.ExperimentConfigProperty.Builder experimentName(String experimentName) Sets the value ofCfnProcessingJob.ExperimentConfigProperty.getExperimentName()- Parameters:
experimentName- The name of an existing experiment to associate with the trial component.- Returns:
this
-
runName
Sets the value ofCfnProcessingJob.ExperimentConfigProperty.getRunName()- Parameters:
runName- The name of the experiment run to associate with the trial component.- Returns:
this
-
trialComponentDisplayName
@Stability(Stable) public CfnProcessingJob.ExperimentConfigProperty.Builder trialComponentDisplayName(String trialComponentDisplayName) Sets the value ofCfnProcessingJob.ExperimentConfigProperty.getTrialComponentDisplayName()- Parameters:
trialComponentDisplayName- The display name for the trial component. If this key isn't specified, the display name is the trial component name.- Returns:
this
-
trialName
@Stability(Stable) public CfnProcessingJob.ExperimentConfigProperty.Builder trialName(String trialName) Sets the value ofCfnProcessingJob.ExperimentConfigProperty.getTrialName()- Parameters:
trialName- The name of an existing trial to associate the trial component with. If not specified, a new trial is created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProcessingJob.ExperimentConfigProperty>- Returns:
- a new instance of
CfnProcessingJob.ExperimentConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-