@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LabelingJobStoppingConditions extends Object implements Serializable, Cloneable, StructuredPojo
A set of conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling.
Labeling jobs fail after 30 days with an appropriate client error message.
Constructor and Description |
---|
LabelingJobStoppingConditions() |
Modifier and Type | Method and Description |
---|---|
LabelingJobStoppingConditions |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxHumanLabeledObjectCount()
The maximum number of objects that can be labeled by human workers.
|
Integer |
getMaxPercentageOfInputDatasetLabeled()
The maximum number of input data objects that should be labeled.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxHumanLabeledObjectCount(Integer maxHumanLabeledObjectCount)
The maximum number of objects that can be labeled by human workers.
|
void |
setMaxPercentageOfInputDatasetLabeled(Integer maxPercentageOfInputDatasetLabeled)
The maximum number of input data objects that should be labeled.
|
String |
toString()
Returns a string representation of this object.
|
LabelingJobStoppingConditions |
withMaxHumanLabeledObjectCount(Integer maxHumanLabeledObjectCount)
The maximum number of objects that can be labeled by human workers.
|
LabelingJobStoppingConditions |
withMaxPercentageOfInputDatasetLabeled(Integer maxPercentageOfInputDatasetLabeled)
The maximum number of input data objects that should be labeled.
|
public void setMaxHumanLabeledObjectCount(Integer maxHumanLabeledObjectCount)
The maximum number of objects that can be labeled by human workers.
maxHumanLabeledObjectCount
- The maximum number of objects that can be labeled by human workers.public Integer getMaxHumanLabeledObjectCount()
The maximum number of objects that can be labeled by human workers.
public LabelingJobStoppingConditions withMaxHumanLabeledObjectCount(Integer maxHumanLabeledObjectCount)
The maximum number of objects that can be labeled by human workers.
maxHumanLabeledObjectCount
- The maximum number of objects that can be labeled by human workers.public void setMaxPercentageOfInputDatasetLabeled(Integer maxPercentageOfInputDatasetLabeled)
The maximum number of input data objects that should be labeled.
maxPercentageOfInputDatasetLabeled
- The maximum number of input data objects that should be labeled.public Integer getMaxPercentageOfInputDatasetLabeled()
The maximum number of input data objects that should be labeled.
public LabelingJobStoppingConditions withMaxPercentageOfInputDatasetLabeled(Integer maxPercentageOfInputDatasetLabeled)
The maximum number of input data objects that should be labeled.
maxPercentageOfInputDatasetLabeled
- The maximum number of input data objects that should be labeled.public String toString()
toString
in class Object
Object.toString()
public LabelingJobStoppingConditions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.