PerfMonResponseInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. PerfMonResponseInner
- com.
Implements
public final class PerfMonResponseInner
implements JsonSerializable<PerfMonResponseInner>
Performance monitor API response.
Constructor Summary
Constructor | Description |
---|---|
PerfMonResponseInner() |
Creates an instance of Perf |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: The response code. |
Perf |
data()
Get the data property: The performance monitor counters. |
static
Perf |
fromJson(JsonReader jsonReader)
Reads an instance of Perf |
String |
message()
Get the message property: The message. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Perf |
withCode(String code)
Set the code property: The response code. |
Perf |
withData(PerfMonSet data)
Set the data property: The performance monitor counters. |
Perf |
withMessage(String message)
Set the message property: The message. |
Methods inherited from java.lang.Object
Constructor Details
PerfMonResponseInner
public PerfMonResponseInner()
Creates an instance of PerfMonResponseInner class.
Method Details
code
public String code()
Get the code property: The response code.
Returns:
data
public PerfMonSet data()
Get the data property: The performance monitor counters.
Returns:
fromJson
public static PerfMonResponseInner fromJson(JsonReader jsonReader)
Reads an instance of PerfMonResponseInner from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The message.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCode
public PerfMonResponseInner withCode(String code)
Set the code property: The response code.
Parameters:
Returns:
withData
public PerfMonResponseInner withData(PerfMonSet data)
Set the data property: The performance monitor counters.
Parameters:
Returns:
withMessage
public PerfMonResponseInner withMessage(String message)
Set the message property: The message.
Parameters:
Returns:
Applies to
Azure SDK for Java