Solution Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Solution
- com.
Implements
public final class Solution
implements JsonSerializable<Solution>
Class Representing Solution for problems detected.
Constructor Summary
Constructor | Description |
---|---|
Solution() |
Creates an instance of Solution class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<List<Name |
data()
Get the data property: Solution Data. |
String |
description()
Get the description property: Description of the solution. |
String |
displayName()
Get the display |
static Solution |
fromJson(JsonReader jsonReader)
Reads an instance of Solution from the Json |
Double |
id()
Get the id property: Solution Id. |
List<List<Name |
metadata()
Get the metadata property: Solution Metadata. |
Double |
order()
Get the order property: Order of the solution. |
Json |
toJson(JsonWriter jsonWriter) |
Solution |
type()
Get the type property: Type of Solution. |
void |
validate()
Validates the instance. |
Solution |
withData(List<List<NameValuePair>> data)
Set the data property: Solution Data. |
Solution |
withDescription(String description)
Set the description property: Description of the solution. |
Solution |
withDisplayName(String displayName)
Set the display |
Solution |
withId(Double id)
Set the id property: Solution Id. |
Solution |
withMetadata(List<List<NameValuePair>> metadata)
Set the metadata property: Solution Metadata. |
Solution |
withOrder(Double order)
Set the order property: Order of the solution. |
Solution |
withType(SolutionType type)
Set the type property: Type of Solution. |
Methods inherited from java.lang.Object
Constructor Details
Solution
public Solution()
Creates an instance of Solution class.
Method Details
data
public List> data()
Get the data property: Solution Data.
Returns:
description
public String description()
Get the description property: Description of the solution.
Returns:
displayName
public String displayName()
Get the displayName property: Display Name of the solution.
Returns:
fromJson
public static Solution fromJson(JsonReader jsonReader)
Reads an instance of Solution from the JsonReader.
Parameters:
Returns:
Throws:
id
public Double id()
Get the id property: Solution Id.
Returns:
metadata
public List> metadata()
Get the metadata property: Solution Metadata.
Returns:
order
public Double order()
Get the order property: Order of the solution.
Returns:
toJson
type
public SolutionType type()
Get the type property: Type of Solution.
Returns:
validate
public void validate()
Validates the instance.
withData
public Solution withData(List> data)
Set the data property: Solution Data.
Parameters:
Returns:
withDescription
public Solution withDescription(String description)
Set the description property: Description of the solution.
Parameters:
Returns:
withDisplayName
public Solution withDisplayName(String displayName)
Set the displayName property: Display Name of the solution.
Parameters:
Returns:
withId
public Solution withId(Double id)
Set the id property: Solution Id.
Parameters:
Returns:
withMetadata
public Solution withMetadata(List> metadata)
Set the metadata property: Solution Metadata.
Parameters:
Returns:
withOrder
public Solution withOrder(Double order)
Set the order property: Order of the solution.
Parameters:
Returns:
withType
public Solution withType(SolutionType type)
Set the type property: Type of Solution.
Parameters:
Returns:
Applies to
Azure SDK for Java