java.lang.Object
com.azure.resourcemanager.appservice.models.Solution

public final class Solution extends Object
Class Representing Solution for problems detected.
  • Constructor Details

    • Solution

      public Solution()
  • Method Details

    • id

      public Double id()
      Get the id property: Solution Id.
      Returns:
      the id value.
    • withId

      public Solution withId(Double id)
      Set the id property: Solution Id.
      Parameters:
      id - the id value to set.
      Returns:
      the Solution object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display Name of the solution.
      Returns:
      the displayName value.
    • withDisplayName

      public Solution withDisplayName(String displayName)
      Set the displayName property: Display Name of the solution.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the Solution object itself.
    • order

      public Double order()
      Get the order property: Order of the solution.
      Returns:
      the order value.
    • withOrder

      public Solution withOrder(Double order)
      Set the order property: Order of the solution.
      Parameters:
      order - the order value to set.
      Returns:
      the Solution object itself.
    • description

      public String description()
      Get the description property: Description of the solution.
      Returns:
      the description value.
    • withDescription

      public Solution withDescription(String description)
      Set the description property: Description of the solution.
      Parameters:
      description - the description value to set.
      Returns:
      the Solution object itself.
    • type

      public SolutionType type()
      Get the type property: Type of Solution.
      Returns:
      the type value.
    • withType

      public Solution withType(SolutionType type)
      Set the type property: Type of Solution.
      Parameters:
      type - the type value to set.
      Returns:
      the Solution object itself.
    • data

      public List<List<NameValuePair>> data()
      Get the data property: Solution Data.
      Returns:
      the data value.
    • withData

      public Solution withData(List<List<NameValuePair>> data)
      Set the data property: Solution Data.
      Parameters:
      data - the data value to set.
      Returns:
      the Solution object itself.
    • metadata

      public List<List<NameValuePair>> metadata()
      Get the metadata property: Solution Metadata.
      Returns:
      the metadata value.
    • withMetadata

      public Solution withMetadata(List<List<NameValuePair>> metadata)
      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.