Class ExtendedStatusInfo
java.lang.Object
com.azure.resourcemanager.billingbenefits.models.ExtendedStatusInfo
The ExtendedStatusInfo model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: The message giving detailed information about the status code.Get the statusCode property: Status code providing additional information.void
validate()
Validates the instance.withMessage
(String message) Set the message property: The message giving detailed information about the status code.withStatusCode
(String statusCode) Set the statusCode property: Status code providing additional information.
-
Constructor Details
-
ExtendedStatusInfo
public ExtendedStatusInfo()Creates an instance of ExtendedStatusInfo class.
-
-
Method Details
-
statusCode
Get the statusCode property: Status code providing additional information.- Returns:
- the statusCode value.
-
withStatusCode
Set the statusCode property: Status code providing additional information.- Parameters:
statusCode
- the statusCode value to set.- Returns:
- the ExtendedStatusInfo object itself.
-
message
Get the message property: The message giving detailed information about the status code.- Returns:
- the message value.
-
withMessage
Set the message property: The message giving detailed information about the status code.- Parameters:
message
- the message value to set.- Returns:
- the ExtendedStatusInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-