@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoMLJobCompletionCriteria extends Object implements Serializable, Cloneable, StructuredPojo
How long a job is allowed to run, or how many candidates a job is allowed to generate.
Constructor and Description |
---|
AutoMLJobCompletionCriteria() |
Modifier and Type | Method and Description |
---|---|
AutoMLJobCompletionCriteria |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxAutoMLJobRuntimeInSeconds()
The maximum time, in seconds, an AutoML job is allowed to wait for a trial to complete.
|
Integer |
getMaxCandidates()
The maximum number of times a training job is allowed to run.
|
Integer |
getMaxRuntimePerTrainingJobInSeconds()
The maximum time, in seconds, a job is allowed to run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxAutoMLJobRuntimeInSeconds(Integer maxAutoMLJobRuntimeInSeconds)
The maximum time, in seconds, an AutoML job is allowed to wait for a trial to complete.
|
void |
setMaxCandidates(Integer maxCandidates)
The maximum number of times a training job is allowed to run.
|
void |
setMaxRuntimePerTrainingJobInSeconds(Integer maxRuntimePerTrainingJobInSeconds)
The maximum time, in seconds, a job is allowed to run.
|
String |
toString()
Returns a string representation of this object.
|
AutoMLJobCompletionCriteria |
withMaxAutoMLJobRuntimeInSeconds(Integer maxAutoMLJobRuntimeInSeconds)
The maximum time, in seconds, an AutoML job is allowed to wait for a trial to complete.
|
AutoMLJobCompletionCriteria |
withMaxCandidates(Integer maxCandidates)
The maximum number of times a training job is allowed to run.
|
AutoMLJobCompletionCriteria |
withMaxRuntimePerTrainingJobInSeconds(Integer maxRuntimePerTrainingJobInSeconds)
The maximum time, in seconds, a job is allowed to run.
|
public void setMaxCandidates(Integer maxCandidates)
The maximum number of times a training job is allowed to run.
maxCandidates
- The maximum number of times a training job is allowed to run.public Integer getMaxCandidates()
The maximum number of times a training job is allowed to run.
public AutoMLJobCompletionCriteria withMaxCandidates(Integer maxCandidates)
The maximum number of times a training job is allowed to run.
maxCandidates
- The maximum number of times a training job is allowed to run.public void setMaxRuntimePerTrainingJobInSeconds(Integer maxRuntimePerTrainingJobInSeconds)
The maximum time, in seconds, a job is allowed to run.
maxRuntimePerTrainingJobInSeconds
- The maximum time, in seconds, a job is allowed to run.public Integer getMaxRuntimePerTrainingJobInSeconds()
The maximum time, in seconds, a job is allowed to run.
public AutoMLJobCompletionCriteria withMaxRuntimePerTrainingJobInSeconds(Integer maxRuntimePerTrainingJobInSeconds)
The maximum time, in seconds, a job is allowed to run.
maxRuntimePerTrainingJobInSeconds
- The maximum time, in seconds, a job is allowed to run.public void setMaxAutoMLJobRuntimeInSeconds(Integer maxAutoMLJobRuntimeInSeconds)
The maximum time, in seconds, an AutoML job is allowed to wait for a trial to complete. It must be equal to or greater than MaxRuntimePerTrainingJobInSeconds.
maxAutoMLJobRuntimeInSeconds
- The maximum time, in seconds, an AutoML job is allowed to wait for a trial to complete. It must be equal
to or greater than MaxRuntimePerTrainingJobInSeconds.public Integer getMaxAutoMLJobRuntimeInSeconds()
The maximum time, in seconds, an AutoML job is allowed to wait for a trial to complete. It must be equal to or greater than MaxRuntimePerTrainingJobInSeconds.
public AutoMLJobCompletionCriteria withMaxAutoMLJobRuntimeInSeconds(Integer maxAutoMLJobRuntimeInSeconds)
The maximum time, in seconds, an AutoML job is allowed to wait for a trial to complete. It must be equal to or greater than MaxRuntimePerTrainingJobInSeconds.
maxAutoMLJobRuntimeInSeconds
- The maximum time, in seconds, an AutoML job is allowed to wait for a trial to complete. It must be equal
to or greater than MaxRuntimePerTrainingJobInSeconds.public String toString()
toString
in class Object
Object.toString()
public AutoMLJobCompletionCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.