@Generated(value="OracleSDKGenerator", comments="API Version: 20210610") public final class RequestJfrRecordingsDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of the request to start JFR recordings. When the targets aren’t specified, then all
managed instances currently in the fleet are selected.
Note: Objects should always be created or deserialized using the RequestJfrRecordingsDetails.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the RequestJfrRecordingsDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
RequestJfrRecordingsDetails.Builder |
Constructor and Description |
---|
RequestJfrRecordingsDetails(List<JfrAttachmentTarget> targets,
String jfcProfileName,
String jfcV1,
String jfcV2,
Integer recordingDurationInMinutes,
Integer recordingSizeInMb)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RequestJfrRecordingsDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getJfcProfileName()
The profile used for JFR events selection.
|
String |
getJfcV1()
The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
|
String |
getJfcV2()
The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and
after.
|
Integer |
getRecordingDurationInMinutes()
Duration of the JFR recording in minutes.
|
Integer |
getRecordingSizeInMb()
The maximum size limit for the JFR file collected.
|
List<JfrAttachmentTarget> |
getTargets()
The attachment targets to start JFR.
|
int |
hashCode() |
RequestJfrRecordingsDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"targets","jfcProfileName","jfcV1","jfcV2","recordingDurationInMinutes","recordingSizeInMb"}) public RequestJfrRecordingsDetails(List<JfrAttachmentTarget> targets, String jfcProfileName, String jfcV1, String jfcV2, Integer recordingDurationInMinutes, Integer recordingSizeInMb)
public static RequestJfrRecordingsDetails.Builder builder()
Create a new builder.
public RequestJfrRecordingsDetails.Builder toBuilder()
public List<JfrAttachmentTarget> getTargets()
The attachment targets to start JFR.
public String getJfcProfileName()
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.
public String getJfcV1()
The BASE64 encoded string of JFR settings XML with schema used by JDK 8.
public String getJfcV2()
The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.
public Integer getRecordingDurationInMinutes()
Duration of the JFR recording in minutes.
public Integer getRecordingSizeInMb()
The maximum size limit for the JFR file collected.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.