@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendEventRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendEventRequest() |
Modifier and Type | Method and Description |
---|---|
SendEventRequest |
addEventVariablesEntry(String key,
String value)
Add a single EventVariables entry
|
SendEventRequest |
clearEventVariablesEntries()
Removes all the entries added into EventVariables.
|
SendEventRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssignedLabel()
The label to associate with the event.
|
List<Entity> |
getEntities()
An array of entities.
|
String |
getEventId()
The event ID to upload.
|
String |
getEventTimestamp()
The timestamp that defines when the event under evaluation occurred.
|
String |
getEventTypeName()
The event type name of the event.
|
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.
|
String |
getLabelTimestamp()
The timestamp associated with the label.
|
int |
hashCode() |
void |
setAssignedLabel(String assignedLabel)
The label to associate with the event.
|
void |
setEntities(Collection<Entity> entities)
An array of entities.
|
void |
setEventId(String eventId)
The event ID to upload.
|
void |
setEventTimestamp(String eventTimestamp)
The timestamp that defines when the event under evaluation occurred.
|
void |
setEventTypeName(String eventTypeName)
The event type name of the event.
|
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 |
setLabelTimestamp(String labelTimestamp)
The timestamp associated with the label.
|
String |
toString()
Returns a string representation of this object.
|
SendEventRequest |
withAssignedLabel(String assignedLabel)
The label to associate with the event.
|
SendEventRequest |
withEntities(Collection<Entity> entities)
An array of entities.
|
SendEventRequest |
withEntities(Entity... entities)
An array of entities.
|
SendEventRequest |
withEventId(String eventId)
The event ID to upload.
|
SendEventRequest |
withEventTimestamp(String eventTimestamp)
The timestamp that defines when the event under evaluation occurred.
|
SendEventRequest |
withEventTypeName(String eventTypeName)
The event type name of the event.
|
SendEventRequest |
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.
|
SendEventRequest |
withLabelTimestamp(String labelTimestamp)
The timestamp associated with the label.
|
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 setEventId(String eventId)
The event ID to upload.
eventId
- The event ID to upload.public String getEventId()
The event ID to upload.
public SendEventRequest withEventId(String eventId)
The event ID to upload.
eventId
- The event ID to upload.public void setEventTypeName(String eventTypeName)
The event type name of the event.
eventTypeName
- The event type name of the event.public String getEventTypeName()
The event type name of the event.
public SendEventRequest withEventTypeName(String eventTypeName)
The event type name of the event.
eventTypeName
- The event type name of the event.public void setEventTimestamp(String eventTimestamp)
The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
eventTimestamp
- The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using
ISO 8601 standard in UTC.public String getEventTimestamp()
The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
public SendEventRequest withEventTimestamp(String eventTimestamp)
The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
eventTimestamp
- The 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.
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.
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.public SendEventRequest 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.
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.public SendEventRequest addEventVariablesEntry(String key, String value)
public SendEventRequest clearEventVariablesEntries()
public void setAssignedLabel(String assignedLabel)
The label to associate with the event. Required if specifying labelTimestamp
.
assignedLabel
- The label to associate with the event. Required if specifying labelTimestamp
.public String getAssignedLabel()
The label to associate with the event. Required if specifying labelTimestamp
.
labelTimestamp
.public SendEventRequest withAssignedLabel(String assignedLabel)
The label to associate with the event. Required if specifying labelTimestamp
.
assignedLabel
- The label to associate with the event. Required if specifying labelTimestamp
.public void setLabelTimestamp(String labelTimestamp)
The timestamp associated with the label. Required if specifying assignedLabel
.
labelTimestamp
- The timestamp associated with the label. Required if specifying assignedLabel
.public String getLabelTimestamp()
The timestamp associated with the label. Required if specifying assignedLabel
.
assignedLabel
.public SendEventRequest withLabelTimestamp(String labelTimestamp)
The timestamp associated with the label. Required if specifying assignedLabel
.
labelTimestamp
- The timestamp associated with the label. Required if specifying assignedLabel
.public void setEntities(Collection<Entity> entities)
An array of entities.
entities
- An array of entities.public SendEventRequest withEntities(Entity... entities)
An array of entities.
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
- An array of entities.public SendEventRequest withEntities(Collection<Entity> entities)
An array of entities.
entities
- An array of entities.public String toString()
toString
in class Object
Object.toString()
public SendEventRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()