public static class PutCustomEventRequest.PutCustomEventRequestEventInfo
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
content
The event content.
|
String |
eventName
The event name.
|
String |
groupId
The ID of the application group.
|
String |
time
The time when the event occurred.
|
| 构造器和说明 |
|---|
PutCustomEventRequestEventInfo() |
@NameInMap(value="Content") public String content
The event content. Valid values of N: 1 to 50.
This parameter is required.
example:IOException
@NameInMap(value="EventName") public String eventName
The event name. Valid values of N: 1 to 50.
This parameter is required.
example:myEvent
@NameInMap(value="GroupId") public String groupId
The ID of the application group. Valid values of N: 1 to 50.
Default value: 0. This value indicates that the event to be reported does not belong to any application group.
example:123456
@NameInMap(value="Time") public String time
The time when the event occurred.
Format: yyyyMMddTHHmmss.SSSZ.
Valid values of N: 1 to 50.
example:You can also specify a UNIX timestamp. Example: 1552199984000. Unit: milliseconds.
20171013T170923.456+0800
public static PutCustomEventRequest.PutCustomEventRequestEventInfo build(Map<String,?> map) throws Exception
Exceptionpublic PutCustomEventRequest.PutCustomEventRequestEventInfo setContent(String content)
public String getContent()
public PutCustomEventRequest.PutCustomEventRequestEventInfo setEventName(String eventName)
public String getEventName()
public PutCustomEventRequest.PutCustomEventRequestEventInfo setGroupId(String groupId)
public String getGroupId()
public PutCustomEventRequest.PutCustomEventRequestEventInfo setTime(String time)
public String getTime()
Copyright © 2026. All rights reserved.