Class Compatibility

java.lang.Object
com.azure.resourcemanager.azurestack.models.Compatibility

public final class Compatibility extends Object
Product compatibility.
  • Constructor Details

    • Compatibility

      public Compatibility()
      Creates an instance of Compatibility class.
  • Method Details

    • isCompatible

      public Boolean isCompatible()
      Get the isCompatible property: Tells if product is compatible with current device.
      Returns:
      the isCompatible value.
    • withIsCompatible

      public Compatibility withIsCompatible(Boolean isCompatible)
      Set the isCompatible property: Tells if product is compatible with current device.
      Parameters:
      isCompatible - the isCompatible value to set.
      Returns:
      the Compatibility object itself.
    • message

      public String message()
      Get the message property: Short error message if any compatibility issues are found.
      Returns:
      the message value.
    • withMessage

      public Compatibility withMessage(String message)
      Set the message property: Short error message if any compatibility issues are found.
      Parameters:
      message - the message value to set.
      Returns:
      the Compatibility object itself.
    • description

      public String description()
      Get the description property: Full error message if any compatibility issues are found.
      Returns:
      the description value.
    • withDescription

      public Compatibility withDescription(String description)
      Set the description property: Full error message if any compatibility issues are found.
      Parameters:
      description - the description value to set.
      Returns:
      the Compatibility object itself.
    • issues

      public List<CompatibilityIssue> issues()
      Get the issues property: List of all issues found.
      Returns:
      the issues value.
    • withIssues

      public Compatibility withIssues(List<CompatibilityIssue> issues)
      Set the issues property: List of all issues found.
      Parameters:
      issues - the issues value to set.
      Returns:
      the Compatibility object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.