@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptChoice extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.
Constructor and Description |
---|
AcceptChoice() |
Modifier and Type | Method and Description |
---|---|
AcceptChoice |
clone() |
boolean |
equals(Object obj) |
String |
getEditedValue()
The edit of the prediction.
|
Integer |
getPredictionChoice()
Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.
|
String |
getPredictionTarget()
Specifies the target (for example, a column name) where a prediction can be accepted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEditedValue(String editedValue)
The edit of the prediction.
|
void |
setPredictionChoice(Integer predictionChoice)
Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.
|
void |
setPredictionTarget(String predictionTarget)
Specifies the target (for example, a column name) where a prediction can be accepted.
|
String |
toString()
Returns a string representation of this object.
|
AcceptChoice |
withEditedValue(String editedValue)
The edit of the prediction.
|
AcceptChoice |
withPredictionChoice(Integer predictionChoice)
Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.
|
AcceptChoice |
withPredictionTarget(String predictionTarget)
Specifies the target (for example, a column name) where a prediction can be accepted.
|
public void setEditedValue(String editedValue)
The edit of the prediction.
editedValue
- The edit of the prediction.public String getEditedValue()
The edit of the prediction.
public AcceptChoice withEditedValue(String editedValue)
The edit of the prediction.
editedValue
- The edit of the prediction.public void setPredictionChoice(Integer predictionChoice)
Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.
predictionChoice
- Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.public Integer getPredictionChoice()
Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.
public AcceptChoice withPredictionChoice(Integer predictionChoice)
Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.
predictionChoice
- Specifies the prediction (aka, the automatically generated piece of metadata) that can be accepted.public void setPredictionTarget(String predictionTarget)
Specifies the target (for example, a column name) where a prediction can be accepted.
predictionTarget
- Specifies the target (for example, a column name) where a prediction can be accepted.public String getPredictionTarget()
Specifies the target (for example, a column name) where a prediction can be accepted.
public AcceptChoice withPredictionTarget(String predictionTarget)
Specifies the target (for example, a column name) where a prediction can be accepted.
predictionTarget
- Specifies the target (for example, a column name) where a prediction can be accepted.public String toString()
toString
in class Object
Object.toString()
public AcceptChoice clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.