Class PerfMonResponseInner
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.PerfMonResponseInner
-
public final class PerfMonResponseInner extends Object
Performance monitor API response.
-
-
Constructor Summary
Constructors Constructor Description PerfMonResponseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcode()Get the code property: The response code.PerfMonSetdata()Get the data property: The performance monitor counters.Stringmessage()Get the message property: The message.voidvalidate()Validates the instance.PerfMonResponseInnerwithCode(String code)Set the code property: The response code.PerfMonResponseInnerwithData(PerfMonSet data)Set the data property: The performance monitor counters.PerfMonResponseInnerwithMessage(String message)Set the message property: The message.
-
-
-
Method Detail
-
code
public String code()
Get the code property: The response code.- Returns:
- the code value.
-
withCode
public PerfMonResponseInner withCode(String code)
Set the code property: The response code.- Parameters:
code- the code value to set.- Returns:
- the PerfMonResponseInner object itself.
-
message
public String message()
Get the message property: The message.- Returns:
- the message value.
-
withMessage
public PerfMonResponseInner withMessage(String message)
Set the message property: The message.- Parameters:
message- the message value to set.- Returns:
- the PerfMonResponseInner object itself.
-
data
public PerfMonSet data()
Get the data property: The performance monitor counters.- Returns:
- the data value.
-
withData
public PerfMonResponseInner withData(PerfMonSet data)
Set the data property: The performance monitor counters.- Parameters:
data- the data value to set.- Returns:
- the PerfMonResponseInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-