Class 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 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).

    • Method Detail

      • 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
      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel