Class DiagnosticParameters

java.lang.Object
com.azure.resourcemanager.appplatform.models.DiagnosticParameters

public final class DiagnosticParameters extends Object
Diagnostic parameters of diagnostic operations.
  • Constructor Details

    • DiagnosticParameters

      public DiagnosticParameters()
      Creates an instance of DiagnosticParameters class.
  • Method Details

    • appInstance

      public String appInstance()
      Get the appInstance property: App instance name.
      Returns:
      the appInstance value.
    • withAppInstance

      public DiagnosticParameters withAppInstance(String appInstance)
      Set the appInstance property: App instance name.
      Parameters:
      appInstance - the appInstance value to set.
      Returns:
      the DiagnosticParameters object itself.
    • filePath

      public String filePath()
      Get the filePath property: Your target file path in your own BYOS.
      Returns:
      the filePath value.
    • withFilePath

      public DiagnosticParameters withFilePath(String filePath)
      Set the filePath property: Your target file path in your own BYOS.
      Parameters:
      filePath - the filePath value to set.
      Returns:
      the DiagnosticParameters object itself.
    • duration

      public String duration()
      Get the duration property: Duration of your JFR. 1 min can be represented by 1m or 60s.
      Returns:
      the duration value.
    • withDuration

      public DiagnosticParameters withDuration(String duration)
      Set the duration property: Duration of your JFR. 1 min can be represented by 1m or 60s.
      Parameters:
      duration - the duration value to set.
      Returns:
      the DiagnosticParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.