Class DiagnosticParameters
java.lang.Object
com.azure.resourcemanager.appplatform.models.DiagnosticParameters
Diagnostic parameters of diagnostic operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the appInstance property: App instance name.duration()Get the duration property: Duration of your JFR.filePath()Get the filePath property: Your target file path in your own BYOS.voidvalidate()Validates the instance.withAppInstance(String appInstance) Set the appInstance property: App instance name.withDuration(String duration) Set the duration property: Duration of your JFR.withFilePath(String filePath) Set the filePath property: Your target file path in your own BYOS.
-
Constructor Details
-
DiagnosticParameters
public DiagnosticParameters()Creates an instance of DiagnosticParameters class.
-
-
Method Details
-
appInstance
Get the appInstance property: App instance name.- Returns:
- the appInstance value.
-
withAppInstance
Set the appInstance property: App instance name.- Parameters:
appInstance- the appInstance value to set.- Returns:
- the DiagnosticParameters object itself.
-
filePath
Get the filePath property: Your target file path in your own BYOS.- Returns:
- the filePath value.
-
withFilePath
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
Get the duration property: Duration of your JFR. 1 min can be represented by 1m or 60s.- Returns:
- the duration value.
-
withDuration
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.
-