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 Summary
ConstructorsConstructorDescriptionCreates an instance of TroubleshootingRecommendedActions class. -
Method Summary
Modifier and TypeMethodDescriptionactionId()Get the actionId property: ID of the recommended action.Get the actionText property: Description of recommended actions.Get the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions.Get the actionUriText property: The information from the URI for the recommended troubleshooting actions.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TroubleshootingRecommendedActions from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withActionId(String actionId) Set the actionId property: ID of the recommended action.withActionText(String actionText) Set the actionText property: Description of recommended actions.withActionUri(String actionUri) Set the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions.withActionUriText(String actionUriText) Set the actionUriText property: The information from the URI for the recommended troubleshooting actions.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TroubleshootingRecommendedActions
public TroubleshootingRecommendedActions()Creates an instance of TroubleshootingRecommendedActions class.
-
-
Method Details
-
actionId
Get the actionId property: ID of the recommended action.- Returns:
- the actionId value.
-
withActionId
Set the actionId property: ID of the recommended action.- Parameters:
actionId- the actionId value to set.- Returns:
- the TroubleshootingRecommendedActions object itself.
-
actionText
Get the actionText property: Description of recommended actions.- Returns:
- the actionText value.
-
withActionText
Set the actionText property: Description of recommended actions.- Parameters:
actionText- the actionText value to set.- Returns:
- the TroubleshootingRecommendedActions object itself.
-
actionUri
Get the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions.- Returns:
- the actionUri value.
-
withActionUri
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
Get the actionUriText property: The information from the URI for the recommended troubleshooting actions.- Returns:
- the actionUriText value.
-
withActionUriText
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
- Specified by:
toJsonin interfacecom.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.
-