@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationInferenceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Used to define the models you want used in your model evaluation job. Automated model evaluation jobs support only a single model. In a human-based model evaluation job, your annotator can compare the responses for up to two different models.
Constructor and Description |
---|
EvaluationInferenceConfig() |
Modifier and Type | Method and Description |
---|---|
EvaluationInferenceConfig |
clone() |
boolean |
equals(Object obj) |
List<EvaluationModelConfig> |
getModels()
Used to specify the models.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setModels(Collection<EvaluationModelConfig> models)
Used to specify the models.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationInferenceConfig |
withModels(Collection<EvaluationModelConfig> models)
Used to specify the models.
|
EvaluationInferenceConfig |
withModels(EvaluationModelConfig... models)
Used to specify the models.
|
public List<EvaluationModelConfig> getModels()
Used to specify the models.
public void setModels(Collection<EvaluationModelConfig> models)
Used to specify the models.
models
- Used to specify the models.public EvaluationInferenceConfig withModels(EvaluationModelConfig... models)
Used to specify the models.
NOTE: This method appends the values to the existing list (if any). Use
setModels(java.util.Collection)
or withModels(java.util.Collection)
if you want to override the
existing values.
models
- Used to specify the models.public EvaluationInferenceConfig withModels(Collection<EvaluationModelConfig> models)
Used to specify the models.
models
- Used to specify the models.public String toString()
toString
in class Object
Object.toString()
public EvaluationInferenceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.