@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TextClassificationJobConfig extends Object implements Serializable, Cloneable, StructuredPojo
The collection of settings used by an AutoML job V2 for the text classification problem type.
Constructor and Description |
---|
TextClassificationJobConfig() |
Modifier and Type | Method and Description |
---|---|
TextClassificationJobConfig |
clone() |
boolean |
equals(Object obj) |
AutoMLJobCompletionCriteria |
getCompletionCriteria()
How long a job is allowed to run, or how many candidates a job is allowed to generate.
|
String |
getContentColumn()
The name of the column used to provide the sentences to be classified.
|
String |
getTargetLabelColumn()
The name of the column used to provide the class labels.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompletionCriteria(AutoMLJobCompletionCriteria completionCriteria)
How long a job is allowed to run, or how many candidates a job is allowed to generate.
|
void |
setContentColumn(String contentColumn)
The name of the column used to provide the sentences to be classified.
|
void |
setTargetLabelColumn(String targetLabelColumn)
The name of the column used to provide the class labels.
|
String |
toString()
Returns a string representation of this object.
|
TextClassificationJobConfig |
withCompletionCriteria(AutoMLJobCompletionCriteria completionCriteria)
How long a job is allowed to run, or how many candidates a job is allowed to generate.
|
TextClassificationJobConfig |
withContentColumn(String contentColumn)
The name of the column used to provide the sentences to be classified.
|
TextClassificationJobConfig |
withTargetLabelColumn(String targetLabelColumn)
The name of the column used to provide the class labels.
|
public void setCompletionCriteria(AutoMLJobCompletionCriteria completionCriteria)
How long a job is allowed to run, or how many candidates a job is allowed to generate.
completionCriteria
- How long a job is allowed to run, or how many candidates a job is allowed to generate.public AutoMLJobCompletionCriteria getCompletionCriteria()
How long a job is allowed to run, or how many candidates a job is allowed to generate.
public TextClassificationJobConfig withCompletionCriteria(AutoMLJobCompletionCriteria completionCriteria)
How long a job is allowed to run, or how many candidates a job is allowed to generate.
completionCriteria
- How long a job is allowed to run, or how many candidates a job is allowed to generate.public void setContentColumn(String contentColumn)
The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
contentColumn
- The name of the column used to provide the sentences to be classified. It should not be the same as the
target column.public String getContentColumn()
The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
public TextClassificationJobConfig withContentColumn(String contentColumn)
The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
contentColumn
- The name of the column used to provide the sentences to be classified. It should not be the same as the
target column.public void setTargetLabelColumn(String targetLabelColumn)
The name of the column used to provide the class labels. It should not be same as the content column.
targetLabelColumn
- The name of the column used to provide the class labels. It should not be same as the content column.public String getTargetLabelColumn()
The name of the column used to provide the class labels. It should not be same as the content column.
public TextClassificationJobConfig withTargetLabelColumn(String targetLabelColumn)
The name of the column used to provide the class labels. It should not be same as the content column.
targetLabelColumn
- The name of the column used to provide the class labels. It should not be same as the content column.public String toString()
toString
in class Object
Object.toString()
public TextClassificationJobConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.