@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PredictorEvent extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about a predictor event, such as a retraining.
Constructor and Description |
---|
PredictorEvent() |
Modifier and Type | Method and Description |
---|---|
PredictorEvent |
clone() |
boolean |
equals(Object obj) |
Date |
getDatetime()
The timestamp for when the event occurred.
|
String |
getDetail()
The type of event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatetime(Date datetime)
The timestamp for when the event occurred.
|
void |
setDetail(String detail)
The type of event.
|
String |
toString()
Returns a string representation of this object.
|
PredictorEvent |
withDatetime(Date datetime)
The timestamp for when the event occurred.
|
PredictorEvent |
withDetail(String detail)
The type of event.
|
public void setDetail(String detail)
The type of event. For example, Retrain
. A retraining event denotes the timepoint when a predictor
was retrained. Any monitor results from before the Datetime
are from the previous predictor. Any new
metrics are for the newly retrained predictor.
detail
- The type of event. For example, Retrain
. A retraining event denotes the timepoint when a
predictor was retrained. Any monitor results from before the Datetime
are from the previous
predictor. Any new metrics are for the newly retrained predictor.public String getDetail()
The type of event. For example, Retrain
. A retraining event denotes the timepoint when a predictor
was retrained. Any monitor results from before the Datetime
are from the previous predictor. Any new
metrics are for the newly retrained predictor.
Retrain
. A retraining event denotes the timepoint when a
predictor was retrained. Any monitor results from before the Datetime
are from the previous
predictor. Any new metrics are for the newly retrained predictor.public PredictorEvent withDetail(String detail)
The type of event. For example, Retrain
. A retraining event denotes the timepoint when a predictor
was retrained. Any monitor results from before the Datetime
are from the previous predictor. Any new
metrics are for the newly retrained predictor.
detail
- The type of event. For example, Retrain
. A retraining event denotes the timepoint when a
predictor was retrained. Any monitor results from before the Datetime
are from the previous
predictor. Any new metrics are for the newly retrained predictor.public void setDatetime(Date datetime)
The timestamp for when the event occurred.
datetime
- The timestamp for when the event occurred.public Date getDatetime()
The timestamp for when the event occurred.
public PredictorEvent withDatetime(Date datetime)
The timestamp for when the event occurred.
datetime
- The timestamp for when the event occurred.public String toString()
toString
in class Object
Object.toString()
public PredictorEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.