@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoTrainingConfig extends Object implements Serializable, Cloneable, StructuredPojo
The automatic training configuration to use when performAutoTraining is true.
| Constructor and Description |
|---|
AutoTrainingConfig() |
| Modifier and Type | Method and Description |
|---|---|
AutoTrainingConfig |
clone() |
boolean |
equals(Object obj) |
String |
getSchedulingExpression()
Specifies how often to automatically train new solution versions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSchedulingExpression(String schedulingExpression)
Specifies how often to automatically train new solution versions.
|
String |
toString()
Returns a string representation of this object.
|
AutoTrainingConfig |
withSchedulingExpression(String schedulingExpression)
Specifies how often to automatically train new solution versions.
|
public void setSchedulingExpression(String schedulingExpression)
Specifies how often to automatically train new solution versions. Specify a rate expression in rate(value
unit) format. For value, specify a number between 1 and 30. For unit, specify day or
days. For example, to automatically create a new solution version every 5 days, specify
rate(5 days). The default is every 7 days.
For more information about auto training, see Creating and configuring a solution.
schedulingExpression - Specifies how often to automatically train new solution versions. Specify a rate expression in
rate(value unit) format. For value, specify a number between 1 and 30. For unit, specify
day or days. For example, to automatically create a new solution version every 5
days, specify rate(5 days). The default is every 7 days.
For more information about auto training, see Creating and configuring a solution.
public String getSchedulingExpression()
Specifies how often to automatically train new solution versions. Specify a rate expression in rate(value
unit) format. For value, specify a number between 1 and 30. For unit, specify day or
days. For example, to automatically create a new solution version every 5 days, specify
rate(5 days). The default is every 7 days.
For more information about auto training, see Creating and configuring a solution.
day or days. For example, to automatically create a new solution version every
5 days, specify rate(5 days). The default is every 7 days.
For more information about auto training, see Creating and configuring a solution.
public AutoTrainingConfig withSchedulingExpression(String schedulingExpression)
Specifies how often to automatically train new solution versions. Specify a rate expression in rate(value
unit) format. For value, specify a number between 1 and 30. For unit, specify day or
days. For example, to automatically create a new solution version every 5 days, specify
rate(5 days). The default is every 7 days.
For more information about auto training, see Creating and configuring a solution.
schedulingExpression - Specifies how often to automatically train new solution versions. Specify a rate expression in
rate(value unit) format. For value, specify a number between 1 and 30. For unit, specify
day or days. For example, to automatically create a new solution version every 5
days, specify rate(5 days). The default is every 7 days.
For more information about auto training, see Creating and configuring a solution.
public String toString()
toString in class ObjectObject.toString()public AutoTrainingConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.