Class CfnTrialComponent.TrialComponentParameterValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnTrialComponent.TrialComponentParameterValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrialComponent.TrialComponentParameterValueProperty>
- Enclosing interface:
CfnTrialComponent.TrialComponentParameterValueProperty
@Stability(Stable)
public static final class CfnTrialComponent.TrialComponentParameterValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrialComponent.TrialComponentParameterValueProperty>
A builder for
CfnTrialComponent.TrialComponentParameterValueProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.numberValue(Number numberValue) Sets the value ofCfnTrialComponent.TrialComponentParameterValueProperty.getNumberValue()stringValue(String stringValue) Sets the value ofCfnTrialComponent.TrialComponentParameterValueProperty.getStringValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
numberValue
@Stability(Stable) public CfnTrialComponent.TrialComponentParameterValueProperty.Builder numberValue(Number numberValue) Sets the value ofCfnTrialComponent.TrialComponentParameterValueProperty.getNumberValue()- Parameters:
numberValue- The numeric value of a numeric hyperparameter.- Returns:
this
-
stringValue
@Stability(Stable) public CfnTrialComponent.TrialComponentParameterValueProperty.Builder stringValue(String stringValue) Sets the value ofCfnTrialComponent.TrialComponentParameterValueProperty.getStringValue()- Parameters:
stringValue- The string value of a categorical hyperparameter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrialComponent.TrialComponentParameterValueProperty>- Returns:
- a new instance of
CfnTrialComponent.TrialComponentParameterValueProperty - Throws:
NullPointerException- if any required attribute was not provided
-