@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PredictedAction extends Object implements Serializable, Cloneable, StructuredPojo
An object that identifies an action.
The API returns a list of PredictedAction
s.
Constructor and Description |
---|
PredictedAction() |
Modifier and Type | Method and Description |
---|---|
PredictedAction |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
The ID of the recommended action.
|
Double |
getScore()
The score of the recommended action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionId(String actionId)
The ID of the recommended action.
|
void |
setScore(Double score)
The score of the recommended action.
|
String |
toString()
Returns a string representation of this object.
|
PredictedAction |
withActionId(String actionId)
The ID of the recommended action.
|
PredictedAction |
withScore(Double score)
The score of the recommended action.
|
public void setActionId(String actionId)
The ID of the recommended action.
actionId
- The ID of the recommended action.public String getActionId()
The ID of the recommended action.
public PredictedAction withActionId(String actionId)
The ID of the recommended action.
actionId
- The ID of the recommended action.public void setScore(Double score)
The score of the recommended action. For information about action scores, see How action recommendation scoring works.
score
- The score of the recommended action. For information about action scores, see How
action recommendation scoring works.public Double getScore()
The score of the recommended action. For information about action scores, see How action recommendation scoring works.
public PredictedAction withScore(Double score)
The score of the recommended action. For information about action scores, see How action recommendation scoring works.
score
- The score of the recommended action. For information about action scores, see How
action recommendation scoring works.public String toString()
toString
in class Object
Object.toString()
public PredictedAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.