public static class RequestJfrRecordingsDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RequestJfrRecordingsDetails |
build() |
RequestJfrRecordingsDetails.Builder |
copy(RequestJfrRecordingsDetails model) |
RequestJfrRecordingsDetails.Builder |
jfcProfileName(String jfcProfileName)
The profile used for JFR events selection.
|
RequestJfrRecordingsDetails.Builder |
jfcV1(String jfcV1)
The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
|
RequestJfrRecordingsDetails.Builder |
jfcV2(String jfcV2)
The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and
after.
|
RequestJfrRecordingsDetails.Builder |
recordingDurationInMinutes(Integer recordingDurationInMinutes)
Duration of the JFR recording in minutes.
|
RequestJfrRecordingsDetails.Builder |
recordingSizeInMb(Integer recordingSizeInMb)
The maximum size limit for the JFR file collected.
|
RequestJfrRecordingsDetails.Builder |
targets(List<JfrAttachmentTarget> targets)
The attachment targets to start JFR.
|
public RequestJfrRecordingsDetails.Builder targets(List<JfrAttachmentTarget> targets)
The attachment targets to start JFR.
targets
- the value to setpublic RequestJfrRecordingsDetails.Builder jfcProfileName(String jfcProfileName)
The profile used for JFR events selection. If the name isn’t recognized, the settings from jfcV1 or jfcV2 will be used depending on the JVM version. Both jfcV2 and jfcV1 should be provided to ensure JFR collection on different JVM versions.
jfcProfileName
- the value to setpublic RequestJfrRecordingsDetails.Builder jfcV1(String jfcV1)
The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
jfcV1
- the value to setpublic RequestJfrRecordingsDetails.Builder jfcV2(String jfcV2)
The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
jfcV2
- the value to setpublic RequestJfrRecordingsDetails.Builder recordingDurationInMinutes(Integer recordingDurationInMinutes)
Duration of the JFR recording in minutes.
recordingDurationInMinutes
- the value to setpublic RequestJfrRecordingsDetails.Builder recordingSizeInMb(Integer recordingSizeInMb)
The maximum size limit for the JFR file collected.
recordingSizeInMb
- the value to setpublic RequestJfrRecordingsDetails build()
public RequestJfrRecordingsDetails.Builder copy(RequestJfrRecordingsDetails model)
Copyright © 2016–2023. All rights reserved.