public class EventContent extends Object
| Constructor and Description |
|---|
EventContent() |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
Get the action value.
|
Actor |
actor()
Get the actor value.
|
String |
id()
Get the id value.
|
Request |
request()
Get the request value.
|
Source |
source()
Get the source value.
|
Target |
target()
Get the target value.
|
org.joda.time.DateTime |
timestamp()
Get the timestamp value.
|
EventContent |
withAction(String action)
Set the action value.
|
EventContent |
withActor(Actor actor)
Set the actor value.
|
EventContent |
withId(String id)
Set the id value.
|
EventContent |
withRequest(Request request)
Set the request value.
|
EventContent |
withSource(Source source)
Set the source value.
|
EventContent |
withTarget(Target target)
Set the target value.
|
EventContent |
withTimestamp(org.joda.time.DateTime timestamp)
Set the timestamp value.
|
public String id()
public EventContent withId(String id)
id - the id value to setpublic org.joda.time.DateTime timestamp()
public EventContent withTimestamp(org.joda.time.DateTime timestamp)
timestamp - the timestamp value to setpublic String action()
public EventContent withAction(String action)
action - the action value to setpublic Target target()
public EventContent withTarget(Target target)
target - the target value to setpublic Request request()
public EventContent withRequest(Request request)
request - the request value to setpublic Actor actor()
public EventContent withActor(Actor actor)
actor - the actor value to setpublic Source source()
public EventContent withSource(Source source)
source - the source value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/