Class RequestJfrRecordingsDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.jms.model.RequestJfrRecordingsDetails
-
@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 theRequestJfrRecordingsDetails.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 theRequestJfrRecordingsDetails.Builder
, which maintain a set of all explicitly set fields calledRequestJfrRecordingsDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequestJfrRecordingsDetails.Builder
-
Constructor Summary
Constructors Constructor Description RequestJfrRecordingsDetails(List<JfrAttachmentTarget> targets, String jfcProfileName, String jfcV1, String jfcV2, Integer recordingDurationInMinutes, Integer recordingSizeInMb, Integer waitingPeriodInMinutes)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
RequestJfrRecordingsDetails
@Deprecated @ConstructorProperties({"targets","jfcProfileName","jfcV1","jfcV2","recordingDurationInMinutes","recordingSizeInMb","waitingPeriodInMinutes"}) public RequestJfrRecordingsDetails(List<JfrAttachmentTarget> targets, String jfcProfileName, String jfcV1, String jfcV2, Integer recordingDurationInMinutes, Integer recordingSizeInMb, Integer waitingPeriodInMinutes)
Deprecated.
-
-
Method Detail
-
builder
public static RequestJfrRecordingsDetails.Builder builder()
Create a new builder.
-
toBuilder
public RequestJfrRecordingsDetails.Builder toBuilder()
-
getTargets
public List<JfrAttachmentTarget> getTargets()
The attachment targets to start JFR.- Returns:
- the value
-
getJfcProfileName
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.
- Returns:
- the value
-
getJfcV1
public String getJfcV1()
The BASE64 encoded string of JFR settings XML with schema used by JDK 8.- Returns:
- the value
-
getJfcV2
public String getJfcV2()
The BASE64 encoded string of JFR settings XML with schema used by JDK 9 and after.- Returns:
- the value
-
getRecordingDurationInMinutes
public Integer getRecordingDurationInMinutes()
Duration of the JFR recording in minutes.- Returns:
- the value
-
getRecordingSizeInMb
public Integer getRecordingSizeInMb()
The maximum size limit for the JFR file collected.- Returns:
- the value
-
getWaitingPeriodInMinutes
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-