Class TroubleshootingRecommendedActions

java.lang.Object
com.azure.resourcemanager.network.models.TroubleshootingRecommendedActions
All Implemented Interfaces:
com.azure.json.JsonSerializable<TroubleshootingRecommendedActions>

public final class TroubleshootingRecommendedActions extends Object implements com.azure.json.JsonSerializable<TroubleshootingRecommendedActions>
Recommended actions based on discovered issues.
  • Constructor Details

    • TroubleshootingRecommendedActions

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

    • actionId

      public String actionId()
      Get the actionId property: ID of the recommended action.
      Returns:
      the actionId value.
    • withActionId

      public TroubleshootingRecommendedActions withActionId(String actionId)
      Set the actionId property: ID of the recommended action.
      Parameters:
      actionId - the actionId value to set.
      Returns:
      the TroubleshootingRecommendedActions object itself.
    • actionText

      public String actionText()
      Get the actionText property: Description of recommended actions.
      Returns:
      the actionText value.
    • withActionText

      public TroubleshootingRecommendedActions withActionText(String actionText)
      Set the actionText property: Description of recommended actions.
      Parameters:
      actionText - the actionText value to set.
      Returns:
      the TroubleshootingRecommendedActions object itself.
    • actionUri

      public String actionUri()
      Get the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions.
      Returns:
      the actionUri value.
    • withActionUri

      public TroubleshootingRecommendedActions withActionUri(String actionUri)
      Set the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions.
      Parameters:
      actionUri - the actionUri value to set.
      Returns:
      the TroubleshootingRecommendedActions object itself.
    • actionUriText

      public String actionUriText()
      Get the actionUriText property: The information from the URI for the recommended troubleshooting actions.
      Returns:
      the actionUriText value.
    • withActionUriText

      public TroubleshootingRecommendedActions withActionUriText(String actionUriText)
      Set the actionUriText property: The information from the URI for the recommended troubleshooting actions.
      Parameters:
      actionUriText - the actionUriText value to set.
      Returns:
      the TroubleshootingRecommendedActions object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<TroubleshootingRecommendedActions>
      Throws:
      IOException
    • fromJson

      public static TroubleshootingRecommendedActions fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of TroubleshootingRecommendedActions from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of TroubleshootingRecommendedActions if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the TroubleshootingRecommendedActions.