Class Solution
- java.lang.Object
-
- com.microsoft.azure.management.appservice.Solution
-
public class Solution extends Object
Class Representing Solution for problems detected.
-
-
Constructor Summary
Constructors Constructor Description Solution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<NameValuePair>>data()Get solution Data.Stringdescription()Get description of the solution.StringdisplayName()Get display Name of the solution.Doubleid()Get solution Id.List<List<NameValuePair>>metadata()Get solution Metadata.Doubleorder()Get order of the solution.SolutionTypetype()Get type of Solution.SolutionwithData(List<List<NameValuePair>> data)Set solution Data.SolutionwithDescription(String description)Set description of the solution.SolutionwithDisplayName(String displayName)Set display Name of the solution.SolutionwithId(Double id)Set solution Id.SolutionwithMetadata(List<List<NameValuePair>> metadata)Set solution Metadata.SolutionwithOrder(Double order)Set order of the solution.SolutionwithType(SolutionType type)Set type of Solution.
-
-
-
Method Detail
-
id
public Double id()
Get solution Id.- Returns:
- the id value
-
withId
public Solution withId(Double id)
Set solution Id.- Parameters:
id- the id value to set- Returns:
- the Solution object itself.
-
displayName
public String displayName()
Get display Name of the solution.- Returns:
- the displayName value
-
withDisplayName
public Solution withDisplayName(String displayName)
Set display Name of the solution.- Parameters:
displayName- the displayName value to set- Returns:
- the Solution object itself.
-
order
public Double order()
Get order of the solution.- Returns:
- the order value
-
withOrder
public Solution withOrder(Double order)
Set order of the solution.- Parameters:
order- the order value to set- Returns:
- the Solution object itself.
-
description
public String description()
Get description of the solution.- Returns:
- the description value
-
withDescription
public Solution withDescription(String description)
Set description of the solution.- Parameters:
description- the description value to set- Returns:
- the Solution object itself.
-
type
public SolutionType type()
Get type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices'.- Returns:
- the type value
-
withType
public Solution withType(SolutionType type)
Set type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices'.- Parameters:
type- the type value to set- Returns:
- the Solution object itself.
-
data
public List<List<NameValuePair>> data()
Get solution Data.- Returns:
- the data value
-
withData
public Solution withData(List<List<NameValuePair>> data)
Set solution Data.- Parameters:
data- the data value to set- Returns:
- the Solution object itself.
-
metadata
public List<List<NameValuePair>> metadata()
Get solution Metadata.- Returns:
- the metadata value
-
withMetadata
public Solution withMetadata(List<List<NameValuePair>> metadata)
Set solution Metadata.- Parameters:
metadata- the metadata value to set- Returns:
- the Solution object itself.
-
-