Class SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.sagemaker.events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition>
- Enclosing interface:
SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition
@Stability(Experimental)
public static final class SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder
extends Object
implements software.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalgorithmSpecification(SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification algorithmSpecification) build()Builds the configured instance.inputDataConfig(List<? extends SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinitionItem> inputDataConfig) outputDataConfig(SageMakerHyperParameterTuningJobStateChange.OutputDataConfig outputDataConfig) staticHyperParameters(SageMakerHyperParameterTuningJobStateChange.Tags staticHyperParameters) stoppingCondition(SageMakerHyperParameterTuningJobStateChange.StoppingCondition stoppingCondition)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
algorithmSpecification
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder algorithmSpecification(SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification algorithmSpecification) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.getAlgorithmSpecification()- Parameters:
algorithmSpecification- AlgorithmSpecification property. Specify an array of string values to match this event if the actual value of AlgorithmSpecification is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
inputDataConfig
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder inputDataConfig(List<? extends SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinitionItem> inputDataConfig) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.getInputDataConfig()- Parameters:
inputDataConfig- InputDataConfig property. Specify an array of string values to match this event if the actual value of InputDataConfig is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
outputDataConfig
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder outputDataConfig(SageMakerHyperParameterTuningJobStateChange.OutputDataConfig outputDataConfig) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.getOutputDataConfig()- Parameters:
outputDataConfig- OutputDataConfig property. Specify an array of string values to match this event if the actual value of OutputDataConfig is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceConfig
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder resourceConfig(SageMakerHyperParameterTuningJobStateChange.ResourceConfig resourceConfig) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.getResourceConfig()- Parameters:
resourceConfig- ResourceConfig property. Specify an array of string values to match this event if the actual value of ResourceConfig is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
roleArn
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder roleArn(List<String> roleArn) - Parameters:
roleArn- RoleArn property. Specify an array of string values to match this event if the actual value of RoleArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
staticHyperParameters
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder staticHyperParameters(SageMakerHyperParameterTuningJobStateChange.Tags staticHyperParameters) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.getStaticHyperParameters()- Parameters:
staticHyperParameters- StaticHyperParameters property. Specify an array of string values to match this event if the actual value of StaticHyperParameters is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
stoppingCondition
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder stoppingCondition(SageMakerHyperParameterTuningJobStateChange.StoppingCondition stoppingCondition) Sets the value ofSageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.getStoppingCondition()- Parameters:
stoppingCondition- StoppingCondition property. Specify an array of string values to match this event if the actual value of StoppingCondition is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
vpcConfig
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition.Builder vpcConfig(SageMakerHyperParameterTuningJobStateChange.VpcConfig vpcConfig) - Parameters:
vpcConfig- VpcConfig property. Specify an array of string values to match this event if the actual value of VpcConfig is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition>- Returns:
- a new instance of
SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition - Throws:
NullPointerException- if any required attribute was not provided
-