Class Solution
java.lang.Object
com.azure.resourcemanager.appservice.models.Solution
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Solution>
Class Representing Solution for problems detected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata()Get the data property: Solution Data.Get the description property: Description of the solution.Get the displayName property: Display Name of the solution.static SolutionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of Solution from the JsonReader.id()Get the id property: Solution Id.metadata()Get the metadata property: Solution Metadata.order()Get the order property: Order of the solution.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of Solution.voidvalidate()Validates the instance.withData(List<List<NameValuePair>> data) Set the data property: Solution Data.withDescription(String description) Set the description property: Description of the solution.withDisplayName(String displayName) Set the displayName property: Display Name of the solution.Set the id property: Solution Id.withMetadata(List<List<NameValuePair>> metadata) Set the metadata property: Solution Metadata.Set the order property: Order of the solution.withType(SolutionType type) Set the type property: Type of Solution.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
Solution
public Solution()Creates an instance of Solution class.
-
-
Method Details
-
id
Get the id property: Solution Id.- Returns:
- the id value.
-
withId
Set the id property: Solution Id.- Parameters:
id- the id value to set.- Returns:
- the Solution object itself.
-
displayName
Get the displayName property: Display Name of the solution.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display Name of the solution.- Parameters:
displayName- the displayName value to set.- Returns:
- the Solution object itself.
-
order
Get the order property: Order of the solution.- Returns:
- the order value.
-
withOrder
Set the order property: Order of the solution.- Parameters:
order- the order value to set.- Returns:
- the Solution object itself.
-
description
Get the description property: Description of the solution.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the solution.- Parameters:
description- the description value to set.- Returns:
- the Solution object itself.
-
type
Get the type property: Type of Solution.- Returns:
- the type value.
-
withType
Set the type property: Type of Solution.- Parameters:
type- the type value to set.- Returns:
- the Solution object itself.
-
data
Get the data property: Solution Data.- Returns:
- the data value.
-
withData
Set the data property: Solution Data.- Parameters:
data- the data value to set.- Returns:
- the Solution object itself.
-
metadata
Get the metadata property: Solution Metadata.- Returns:
- the metadata value.
-
withMetadata
Set the metadata property: Solution Metadata.- Parameters:
metadata- the metadata value to set.- Returns:
- the Solution object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<Solution>- Throws:
IOException
-
fromJson
Reads an instance of Solution from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of Solution if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the Solution.
-