ExtendedStatusInfo Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. ExtendedStatusInfo
- com.
Implements
public final class ExtendedStatusInfo
implements JsonSerializable<ExtendedStatusInfo>
Extended status information.
Constructor Summary
| Constructor | Description |
|---|---|
| ExtendedStatusInfo() |
Creates an instance of Extended |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Extended |
fromJson(JsonReader jsonReader)
Reads an instance of Extended |
| String |
message()
Get the message property: The message giving detailed information about the status code. |
| String |
statusCode()
Get the status |
| String |
subscriptionId()
Get the subscription |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Extended |
withMessage(String message)
Set the message property: The message giving detailed information about the status code. |
|
Extended |
withStatusCode(String statusCode)
Set the status |
|
Extended |
withSubscriptionId(String subscriptionId)
Set the subscription |
Methods inherited from java.lang.Object
Constructor Details
ExtendedStatusInfo
public ExtendedStatusInfo()
Creates an instance of ExtendedStatusInfo class.
Method Details
fromJson
public static ExtendedStatusInfo fromJson(JsonReader jsonReader)
Reads an instance of ExtendedStatusInfo from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The message giving detailed information about the status code.
Returns:
statusCode
public String statusCode()
Get the statusCode property: Status code providing additional information.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription that has failed credit line check.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMessage
public ExtendedStatusInfo withMessage(String message)
Set the message property: The message giving detailed information about the status code.
Parameters:
Returns:
withStatusCode
public ExtendedStatusInfo withStatusCode(String statusCode)
Set the statusCode property: Status code providing additional information.
Parameters:
Returns:
withSubscriptionId
public ExtendedStatusInfo withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription that has failed credit line check.
Parameters:
Returns: