Class ModelEvents.AWSAPICallViaCloudTrail.HyperParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.ModelEvents.AWSAPICallViaCloudTrail.HyperParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.HyperParameters>
- Enclosing interface:
ModelEvents.AWSAPICallViaCloudTrail.HyperParameters
@Stability(Experimental)
public static final class ModelEvents.AWSAPICallViaCloudTrail.HyperParameters.Builder
extends Object
implements software.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.HyperParameters>
A builder for
ModelEvents.AWSAPICallViaCloudTrail.HyperParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.evalMetric(List<String> evalMetric) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.HyperParameters.getEvalMetric()Sets the value ofModelEvents.AWSAPICallViaCloudTrail.HyperParameters.getNumRound()Sets the value ofModelEvents.AWSAPICallViaCloudTrail.HyperParameters.getObjective()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
evalMetric
@Stability(Experimental) public ModelEvents.AWSAPICallViaCloudTrail.HyperParameters.Builder evalMetric(List<String> evalMetric) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.HyperParameters.getEvalMetric()- Parameters:
evalMetric- eval_metric property. Specify an array of string values to match this event if the actual value of eval_metric is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
numRound
@Stability(Experimental) public ModelEvents.AWSAPICallViaCloudTrail.HyperParameters.Builder numRound(List<String> numRound) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.HyperParameters.getNumRound()- Parameters:
numRound- num_round property. Specify an array of string values to match this event if the actual value of num_round is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
objective
@Stability(Experimental) public ModelEvents.AWSAPICallViaCloudTrail.HyperParameters.Builder objective(List<String> objective) Sets the value ofModelEvents.AWSAPICallViaCloudTrail.HyperParameters.getObjective()- Parameters:
objective- objective property. Specify an array of string values to match this event if the actual value of objective is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ModelEvents.AWSAPICallViaCloudTrail.HyperParameters>- Returns:
- a new instance of
ModelEvents.AWSAPICallViaCloudTrail.HyperParameters - Throws:
NullPointerException- if any required attribute was not provided
-