@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudienceModelMetric extends Object implements Serializable, Cloneable, StructuredPojo
The audience model metrics.
| Constructor and Description |
|---|
AudienceModelMetric() |
| Modifier and Type | Method and Description |
|---|---|
AudienceModelMetric |
clone() |
boolean |
equals(Object obj) |
Integer |
getForTopKItemPredictions()
The number of users that were used to generate these model metrics.
|
String |
getType()
The audience model metric.
|
Double |
getValue()
The value of the audience model metric
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setForTopKItemPredictions(Integer forTopKItemPredictions)
The number of users that were used to generate these model metrics.
|
void |
setType(String type)
The audience model metric.
|
void |
setValue(Double value)
The value of the audience model metric
|
String |
toString()
Returns a string representation of this object.
|
AudienceModelMetric |
withForTopKItemPredictions(Integer forTopKItemPredictions)
The number of users that were used to generate these model metrics.
|
AudienceModelMetric |
withType(AudienceModelMetricType type)
The audience model metric.
|
AudienceModelMetric |
withType(String type)
The audience model metric.
|
AudienceModelMetric |
withValue(Double value)
The value of the audience model metric
|
public void setForTopKItemPredictions(Integer forTopKItemPredictions)
The number of users that were used to generate these model metrics.
forTopKItemPredictions - The number of users that were used to generate these model metrics.public Integer getForTopKItemPredictions()
The number of users that were used to generate these model metrics.
public AudienceModelMetric withForTopKItemPredictions(Integer forTopKItemPredictions)
The number of users that were used to generate these model metrics.
forTopKItemPredictions - The number of users that were used to generate these model metrics.public void setType(String type)
The audience model metric.
type - The audience model metric.AudienceModelMetricTypepublic String getType()
The audience model metric.
AudienceModelMetricTypepublic AudienceModelMetric withType(String type)
The audience model metric.
type - The audience model metric.AudienceModelMetricTypepublic AudienceModelMetric withType(AudienceModelMetricType type)
The audience model metric.
type - The audience model metric.AudienceModelMetricTypepublic void setValue(Double value)
The value of the audience model metric
value - The value of the audience model metricpublic Double getValue()
The value of the audience model metric
public AudienceModelMetric withValue(Double value)
The value of the audience model metric
value - The value of the audience model metricpublic String toString()
toString in class ObjectObject.toString()public AudienceModelMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.