public static final class PutCustomEventRequest.EventInfo.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
PutCustomEventRequest.EventInfo |
build() |
PutCustomEventRequest.EventInfo.Builder |
content(String content)
The event content.
|
PutCustomEventRequest.EventInfo.Builder |
eventName(String eventName)
The event name.
|
PutCustomEventRequest.EventInfo.Builder |
groupId(String groupId)
The ID of the application group.
|
PutCustomEventRequest.EventInfo.Builder |
time(String time)
The time when the event occurred.
|
public PutCustomEventRequest.EventInfo.Builder content(String content)
The event content. Valid values of N: 1 to 50.
This parameter is required.
example:IOException
public PutCustomEventRequest.EventInfo.Builder eventName(String eventName)
The event name. Valid values of N: 1 to 50.
This parameter is required.
example:myEvent
public PutCustomEventRequest.EventInfo.Builder groupId(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
public PutCustomEventRequest.EventInfo.Builder time(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 PutCustomEventRequest.EventInfo build()
Copyright © 2026. All rights reserved.