public static final class CfnModelExplainabilityJobDefinition.StoppingConditionProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnModelExplainabilityJobDefinition.StoppingConditionProperty |
build()
Builds the configured instance.
|
CfnModelExplainabilityJobDefinition.StoppingConditionProperty.Builder |
maxRuntimeInSeconds(java.lang.Number maxRuntimeInSeconds)
|
public CfnModelExplainabilityJobDefinition.StoppingConditionProperty.Builder maxRuntimeInSeconds(java.lang.Number maxRuntimeInSeconds)
CfnModelExplainabilityJobDefinition.StoppingConditionProperty.getMaxRuntimeInSeconds()
maxRuntimeInSeconds
- The maximum length of time, in seconds, that a training or compilation job can run before it is stopped. This parameter is required.
For compilation jobs, if the job does not complete during this time, a TimeOut
error is generated. We recommend starting with 900 seconds and increasing as necessary based on your model.
For all other jobs, if the job does not complete during this time, SageMaker ends the job. When RetryStrategy
is specified in the job request, MaxRuntimeInSeconds
specifies the maximum time for all of the attempts in total, not each individual attempt. The default value is 1 day. The maximum value is 28 days.
The maximum time that a TrainingJob
can run in total, including any time spent publishing metrics or archiving and uploading models after it has been stopped, is 30 days.
this
public CfnModelExplainabilityJobDefinition.StoppingConditionProperty build()
CfnModelExplainabilityJobDefinition.StoppingConditionProperty
java.lang.NullPointerException
- if any required attribute was not provided