Class AWSAPICallViaCloudTrail.HyperParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.AWSAPICallViaCloudTrail.HyperParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.HyperParameters>
- Enclosing interface:
AWSAPICallViaCloudTrail.HyperParameters
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.HyperParameters.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.HyperParameters>
A builder for
AWSAPICallViaCloudTrail.HyperParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.evalMetric(List<String> evalMetric) Sets the value ofAWSAPICallViaCloudTrail.HyperParameters.getEvalMetric()Sets the value ofAWSAPICallViaCloudTrail.HyperParameters.getNumRound()Sets the value ofAWSAPICallViaCloudTrail.HyperParameters.getObjective()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
evalMetric
@Stability(Experimental) public AWSAPICallViaCloudTrail.HyperParameters.Builder evalMetric(List<String> evalMetric) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.HyperParameters.Builder numRound(List<String> numRound) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.HyperParameters.Builder objective(List<String> objective) Sets the value ofAWSAPICallViaCloudTrail.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<AWSAPICallViaCloudTrail.HyperParameters>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.HyperParameters - Throws:
NullPointerException- if any required attribute was not provided
-