public static final class StoppingCondition.Builder
extends java.lang.Object
StoppingCondition
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StoppingCondition |
build()
Builds the configured instance.
|
StoppingCondition.Builder |
maxRuntime(Duration maxRuntime)
Sets the value of
StoppingCondition.getMaxRuntime() |
public StoppingCondition.Builder maxRuntime(Duration maxRuntime)
StoppingCondition.getMaxRuntime()
maxRuntime
- The maximum length of time, in seconds, that the training or compilation job can run.this
public StoppingCondition build()
StoppingCondition
java.lang.NullPointerException
- if any required attribute was not provided