@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 RequestJfrRecordingsDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
RequestJfrRecordingsDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
RequestJfrRecordingsDetails(List<JfrAttachmentTarget> targets,
String jfcProfileName,
String jfcV1,
String jfcV2,
Integer recordingDurationInMinutes,
Integer recordingSizeInMb,
Integer waitingPeriodInMinutes)
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.
|
Integer |
getWaitingPeriodInMinutes()
Period to looking for JVMs.
|
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","waitingPeriodInMinutes"}) public RequestJfrRecordingsDetails(List<JfrAttachmentTarget> targets, String jfcProfileName, String jfcV1, String jfcV2, Integer recordingDurationInMinutes, Integer recordingSizeInMb, Integer waitingPeriodInMinutes)
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 Integer getWaitingPeriodInMinutes()
Period to looking for JVMs. In addition to attach to running JVMs when given the command, JVM started within the waiting period will also be attached for JFR. The value should be larger than the agent polling interval setting for the fleet to ensure agent can get the instructions. If not specified, the agent polling interval for the fleet is used.
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–2024. All rights reserved.