@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OptimizationObjective extends Object implements Serializable, Cloneable, StructuredPojo
Describes the additional objective for the solution, such as maximizing streaming minutes or increasing revenue. For more information see Optimizing a solution.
| Constructor and Description |
|---|
OptimizationObjective() |
| Modifier and Type | Method and Description |
|---|---|
OptimizationObjective |
clone() |
boolean |
equals(Object obj) |
String |
getItemAttribute()
The numerical metadata column in an Items dataset related to the optimization objective.
|
String |
getObjectiveSensitivity()
Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setItemAttribute(String itemAttribute)
The numerical metadata column in an Items dataset related to the optimization objective.
|
void |
setObjectiveSensitivity(String objectiveSensitivity)
Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.
|
String |
toString()
Returns a string representation of this object.
|
OptimizationObjective |
withItemAttribute(String itemAttribute)
The numerical metadata column in an Items dataset related to the optimization objective.
|
OptimizationObjective |
withObjectiveSensitivity(ObjectiveSensitivity objectiveSensitivity)
Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.
|
OptimizationObjective |
withObjectiveSensitivity(String objectiveSensitivity)
Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.
|
public void setItemAttribute(String itemAttribute)
The numerical metadata column in an Items dataset related to the optimization objective. For example, VIDEO_LENGTH (to maximize streaming minutes), or PRICE (to maximize revenue).
itemAttribute - The numerical metadata column in an Items dataset related to the optimization objective. For example,
VIDEO_LENGTH (to maximize streaming minutes), or PRICE (to maximize revenue).public String getItemAttribute()
The numerical metadata column in an Items dataset related to the optimization objective. For example, VIDEO_LENGTH (to maximize streaming minutes), or PRICE (to maximize revenue).
public OptimizationObjective withItemAttribute(String itemAttribute)
The numerical metadata column in an Items dataset related to the optimization objective. For example, VIDEO_LENGTH (to maximize streaming minutes), or PRICE (to maximize revenue).
itemAttribute - The numerical metadata column in an Items dataset related to the optimization objective. For example,
VIDEO_LENGTH (to maximize streaming minutes), or PRICE (to maximize revenue).public void setObjectiveSensitivity(String objectiveSensitivity)
Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.
objectiveSensitivity - Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.ObjectiveSensitivitypublic String getObjectiveSensitivity()
Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.
ObjectiveSensitivitypublic OptimizationObjective withObjectiveSensitivity(String objectiveSensitivity)
Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.
objectiveSensitivity - Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.ObjectiveSensitivitypublic OptimizationObjective withObjectiveSensitivity(ObjectiveSensitivity objectiveSensitivity)
Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.
objectiveSensitivity - Specifies how Amazon Personalize balances the importance of your optimization objective versus relevance.ObjectiveSensitivitypublic String toString()
toString in class ObjectObject.toString()public OptimizationObjective clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.