DiagnosticParameters Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. DiagnosticParameters
- com.
Implements
public final class DiagnosticParameters
implements JsonSerializable<DiagnosticParameters>
Diagnostic parameters of diagnostic operations.
Constructor | Description |
---|---|
Diagnostic |
Creates an instance of Diagnostic |
Modifier and Type | Method and Description |
---|---|
String |
app Get the app |
String |
duration()
Get the duration property: Duration of your JFR. |
String |
file Get the file |
static
Diagnostic |
from Reads an instance of Diagnostic |
Json |
to |
void |
validate()
Validates the instance. |
Diagnostic |
with Set the app |
Diagnostic |
with Set the duration property: Duration of your JFR. |
Diagnostic |
with Set the file |
Methods inherited from java.lang.Object
DiagnosticParameters
public DiagnosticParameters()
Creates an instance of DiagnosticParameters class.
appInstance
public String appInstance()
Get the appInstance property: App instance name.
Returns:
duration
public String duration()
Get the duration property: Duration of your JFR. 1 min can be represented by 1m or 60s.
Returns:
filePath
public String filePath()
Get the filePath property: Your target file path in your own BYOS.
Returns:
fromJson
public static DiagnosticParameters fromJson(JsonReader jsonReader)
Reads an instance of DiagnosticParameters from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAppInstance
public DiagnosticParameters withAppInstance(String appInstance)
Set the appInstance property: App instance name.
Parameters:
Returns:
withDuration
public DiagnosticParameters withDuration(String duration)
Set the duration property: Duration of your JFR. 1 min can be represented by 1m or 60s.
Parameters:
Returns:
withFilePath
public DiagnosticParameters withFilePath(String filePath)
Set the filePath property: Your target file path in your own BYOS.
Parameters:
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: