Class Compatibility
java.lang.Object
com.azure.resourcemanager.azurestack.models.Compatibility
Product compatibility.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Full error message if any compatibility issues are found.Get the isCompatible property: Tells if product is compatible with current device.issues()Get the issues property: List of all issues found.message()Get the message property: Short error message if any compatibility issues are found.voidvalidate()Validates the instance.withDescription(String description) Set the description property: Full error message if any compatibility issues are found.withIsCompatible(Boolean isCompatible) Set the isCompatible property: Tells if product is compatible with current device.withIssues(List<CompatibilityIssue> issues) Set the issues property: List of all issues found.withMessage(String message) Set the message property: Short error message if any compatibility issues are found.
-
Constructor Details
-
Compatibility
public Compatibility()Creates an instance of Compatibility class.
-
-
Method Details
-
isCompatible
Get the isCompatible property: Tells if product is compatible with current device.- Returns:
- the isCompatible value.
-
withIsCompatible
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
Get the message property: Short error message if any compatibility issues are found.- Returns:
- the message value.
-
withMessage
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
Get the description property: Full error message if any compatibility issues are found.- Returns:
- the description value.
-
withDescription
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
Get the issues property: List of all issues found.- Returns:
- the issues value.
-
withIssues
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.
-