@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RumEvent extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the information for one performance event that RUM collects from a user session with your application.
Constructor and Description |
---|
RumEvent() |
Modifier and Type | Method and Description |
---|---|
RumEvent |
clone() |
boolean |
equals(Object obj) |
String |
getDetails()
A string containing details about the event.
|
String |
getId()
A unique ID for this event.
|
String |
getMetadata()
Metadata about this event, which contains a JSON serialization of the identity of the user for this session.
|
Date |
getTimestamp()
The exact time that this event occurred.
|
String |
getType()
The JSON schema that denotes the type of event this is, such as a page load or a new session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetails(String details)
A string containing details about the event.
|
void |
setId(String id)
A unique ID for this event.
|
void |
setMetadata(String metadata)
Metadata about this event, which contains a JSON serialization of the identity of the user for this session.
|
void |
setTimestamp(Date timestamp)
The exact time that this event occurred.
|
void |
setType(String type)
The JSON schema that denotes the type of event this is, such as a page load or a new session.
|
String |
toString()
Returns a string representation of this object.
|
RumEvent |
withDetails(String details)
A string containing details about the event.
|
RumEvent |
withId(String id)
A unique ID for this event.
|
RumEvent |
withMetadata(String metadata)
Metadata about this event, which contains a JSON serialization of the identity of the user for this session.
|
RumEvent |
withTimestamp(Date timestamp)
The exact time that this event occurred.
|
RumEvent |
withType(String type)
The JSON schema that denotes the type of event this is, such as a page load or a new session.
|
public void setDetails(String details)
A string containing details about the event.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
details
- A string containing details about the event.public String getDetails()
A string containing details about the event.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
public RumEvent withDetails(String details)
A string containing details about the event.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
details
- A string containing details about the event.public void setId(String id)
A unique ID for this event.
id
- A unique ID for this event.public String getId()
A unique ID for this event.
public RumEvent withId(String id)
A unique ID for this event.
id
- A unique ID for this event.public void setMetadata(String metadata)
Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
metadata
- Metadata about this event, which contains a JSON serialization of the identity of the user for this
session. The user information comes from information such as the HTTP user-agent request header and
document interface.public String getMetadata()
Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
public RumEvent withMetadata(String metadata)
Metadata about this event, which contains a JSON serialization of the identity of the user for this session. The user information comes from information such as the HTTP user-agent request header and document interface.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
metadata
- Metadata about this event, which contains a JSON serialization of the identity of the user for this
session. The user information comes from information such as the HTTP user-agent request header and
document interface.public void setTimestamp(Date timestamp)
The exact time that this event occurred.
timestamp
- The exact time that this event occurred.public Date getTimestamp()
The exact time that this event occurred.
public RumEvent withTimestamp(Date timestamp)
The exact time that this event occurred.
timestamp
- The exact time that this event occurred.public void setType(String type)
The JSON schema that denotes the type of event this is, such as a page load or a new session.
type
- The JSON schema that denotes the type of event this is, such as a page load or a new session.public String getType()
The JSON schema that denotes the type of event this is, such as a page load or a new session.
public RumEvent withType(String type)
The JSON schema that denotes the type of event this is, such as a page load or a new session.
type
- The JSON schema that denotes the type of event this is, such as a page load or a new session.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.