@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEventPredictionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetEventPredictionRequest() |
Modifier and Type | Method and Description |
---|---|
GetEventPredictionRequest |
addEventVariablesEntry(String key,
String value)
Add a single EventVariables entry
|
GetEventPredictionRequest |
addExternalModelEndpointDataBlobsEntry(String key,
ModelEndpointDataBlob value)
Add a single ExternalModelEndpointDataBlobs entry
|
GetEventPredictionRequest |
clearEventVariablesEntries()
Removes all the entries added into EventVariables.
|
GetEventPredictionRequest |
clearExternalModelEndpointDataBlobsEntries()
Removes all the entries added into ExternalModelEndpointDataBlobs.
|
GetEventPredictionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDetectorId()
The detector ID.
|
String |
getDetectorVersionId()
The detector version ID.
|
List<Entity> |
getEntities()
The entity type (associated with the detector's event type) and specific entity ID representing who performed the
event.
|
String |
getEventId()
The unique ID used to identify the event.
|
String |
getEventTimestamp()
Timestamp that defines when the event under evaluation occurred.
|
String |
getEventTypeName()
The event type associated with the detector specified for the prediction.
|
Map<String,String> |
getEventVariables()
Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their
corresponding values for the event you are sending for evaluation.
|
Map<String,ModelEndpointDataBlob> |
getExternalModelEndpointDataBlobs()
The Amazon SageMaker model endpoint input data blobs.
|
int |
hashCode() |
void |
setDetectorId(String detectorId)
The detector ID.
|
void |
setDetectorVersionId(String detectorVersionId)
The detector version ID.
|
void |
setEntities(Collection<Entity> entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed the
event.
|
void |
setEventId(String eventId)
The unique ID used to identify the event.
|
void |
setEventTimestamp(String eventTimestamp)
Timestamp that defines when the event under evaluation occurred.
|
void |
setEventTypeName(String eventTypeName)
The event type associated with the detector specified for the prediction.
|
void |
setEventVariables(Map<String,String> eventVariables)
Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their
corresponding values for the event you are sending for evaluation.
|
void |
setExternalModelEndpointDataBlobs(Map<String,ModelEndpointDataBlob> externalModelEndpointDataBlobs)
The Amazon SageMaker model endpoint input data blobs.
|
String |
toString()
Returns a string representation of this object.
|
GetEventPredictionRequest |
withDetectorId(String detectorId)
The detector ID.
|
GetEventPredictionRequest |
withDetectorVersionId(String detectorVersionId)
The detector version ID.
|
GetEventPredictionRequest |
withEntities(Collection<Entity> entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed the
event.
|
GetEventPredictionRequest |
withEntities(Entity... entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed the
event.
|
GetEventPredictionRequest |
withEventId(String eventId)
The unique ID used to identify the event.
|
GetEventPredictionRequest |
withEventTimestamp(String eventTimestamp)
Timestamp that defines when the event under evaluation occurred.
|
GetEventPredictionRequest |
withEventTypeName(String eventTypeName)
The event type associated with the detector specified for the prediction.
|
GetEventPredictionRequest |
withEventVariables(Map<String,String> eventVariables)
Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their
corresponding values for the event you are sending for evaluation.
|
GetEventPredictionRequest |
withExternalModelEndpointDataBlobs(Map<String,ModelEndpointDataBlob> externalModelEndpointDataBlobs)
The Amazon SageMaker model endpoint input data blobs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDetectorId(String detectorId)
The detector ID.
detectorId
- The detector ID.public String getDetectorId()
The detector ID.
public GetEventPredictionRequest withDetectorId(String detectorId)
The detector ID.
detectorId
- The detector ID.public void setDetectorVersionId(String detectorVersionId)
The detector version ID.
detectorVersionId
- The detector version ID.public String getDetectorVersionId()
The detector version ID.
public GetEventPredictionRequest withDetectorVersionId(String detectorVersionId)
The detector version ID.
detectorVersionId
- The detector version ID.public void setEventId(String eventId)
The unique ID used to identify the event.
eventId
- The unique ID used to identify the event.public String getEventId()
The unique ID used to identify the event.
public GetEventPredictionRequest withEventId(String eventId)
The unique ID used to identify the event.
eventId
- The unique ID used to identify the event.public void setEventTypeName(String eventTypeName)
The event type associated with the detector specified for the prediction.
eventTypeName
- The event type associated with the detector specified for the prediction.public String getEventTypeName()
The event type associated with the detector specified for the prediction.
public GetEventPredictionRequest withEventTypeName(String eventTypeName)
The event type associated with the detector specified for the prediction.
eventTypeName
- The event type associated with the detector specified for the prediction.public List<Entity> getEntities()
The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN."
public void setEntities(Collection<Entity> entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN."
entities
- The entity type (associated with the detector's event type) and specific entity ID representing who
performed the event. If an entity id is not available, use "UNKNOWN."public GetEventPredictionRequest withEntities(Entity... entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN."
NOTE: This method appends the values to the existing list (if any). Use
setEntities(java.util.Collection)
or withEntities(java.util.Collection)
if you want to override
the existing values.
entities
- The entity type (associated with the detector's event type) and specific entity ID representing who
performed the event. If an entity id is not available, use "UNKNOWN."public GetEventPredictionRequest withEntities(Collection<Entity> entities)
The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN."
entities
- The entity type (associated with the detector's event type) and specific entity ID representing who
performed the event. If an entity id is not available, use "UNKNOWN."public void setEventTimestamp(String eventTimestamp)
Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
eventTimestamp
- Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO
8601 standard in UTC.public String getEventTimestamp()
Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
public GetEventPredictionRequest withEventTimestamp(String eventTimestamp)
Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
eventTimestamp
- Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO
8601 standard in UTC.public Map<String,String> getEventVariables()
Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.
You must provide at least one eventVariable
To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:
For Amazon Fraud Detector trained models:
If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.
For imported SageMaker models:
If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.
You must provide at least one eventVariable
To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:
For Amazon Fraud Detector trained models:
If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.
For imported SageMaker models:
If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.
public void setEventVariables(Map<String,String> eventVariables)
Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.
You must provide at least one eventVariable
To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:
For Amazon Fraud Detector trained models:
If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.
For imported SageMaker models:
If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.
eventVariables
- Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and
their corresponding values for the event you are sending for evaluation. You must provide at least one eventVariable
To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:
For Amazon Fraud Detector trained models:
If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.
For imported SageMaker models:
If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.
public GetEventPredictionRequest withEventVariables(Map<String,String> eventVariables)
Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.
You must provide at least one eventVariable
To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:
For Amazon Fraud Detector trained models:
If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.
For imported SageMaker models:
If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.
eventVariables
- Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and
their corresponding values for the event you are sending for evaluation. You must provide at least one eventVariable
To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:
For Amazon Fraud Detector trained models:
If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.
For imported SageMaker models:
If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.
public GetEventPredictionRequest addEventVariablesEntry(String key, String value)
public GetEventPredictionRequest clearEventVariablesEntries()
public Map<String,ModelEndpointDataBlob> getExternalModelEndpointDataBlobs()
The Amazon SageMaker model endpoint input data blobs.
public void setExternalModelEndpointDataBlobs(Map<String,ModelEndpointDataBlob> externalModelEndpointDataBlobs)
The Amazon SageMaker model endpoint input data blobs.
externalModelEndpointDataBlobs
- The Amazon SageMaker model endpoint input data blobs.public GetEventPredictionRequest withExternalModelEndpointDataBlobs(Map<String,ModelEndpointDataBlob> externalModelEndpointDataBlobs)
The Amazon SageMaker model endpoint input data blobs.
externalModelEndpointDataBlobs
- The Amazon SageMaker model endpoint input data blobs.public GetEventPredictionRequest addExternalModelEndpointDataBlobsEntry(String key, ModelEndpointDataBlob value)
public GetEventPredictionRequest clearExternalModelEndpointDataBlobsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetEventPredictionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()