Partilhar via


TroubleshootingRecommendedActions Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.TroubleshootingRecommendedActions

Implements

public final class TroubleshootingRecommendedActions
implements JsonSerializable<TroubleshootingRecommendedActions>

Recommended actions based on discovered issues.

Constructor Summary

Constructor Description
TroubleshootingRecommendedActions()

Creates an instance of TroubleshootingRecommendedActions class.

Method Summary

Modifier and Type Method and Description
String actionId()

Get the actionId property: ID of the recommended action.

String actionText()

Get the actionText property: Description of recommended actions.

String actionUri()

Get the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions.

String actionUriText()

Get the actionUriText property: The information from the URI for the recommended troubleshooting actions.

static TroubleshootingRecommendedActions fromJson(JsonReader jsonReader)

Reads an instance of TroubleshootingRecommendedActions from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TroubleshootingRecommendedActions withActionId(String actionId)

Set the actionId property: ID of the recommended action.

TroubleshootingRecommendedActions withActionText(String actionText)

Set the actionText property: Description of recommended actions.

TroubleshootingRecommendedActions withActionUri(String actionUri)

Set the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions.

TroubleshootingRecommendedActions withActionUriText(String actionUriText)

Set the actionUriText property: The information from the URI for the recommended troubleshooting actions.

Methods inherited from java.lang.Object

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.

actionText

public String actionText()

Get the actionText property: Description of recommended actions.

Returns:

the actionText value.

actionUri

public String actionUri()

Get the actionUri property: The uri linking to a documentation for the recommended troubleshooting actions.

Returns:

the actionUri value.

actionUriText

public String actionUriText()

Get the actionUriText property: The information from the URI for the recommended troubleshooting actions.

Returns:

the actionUriText value.

fromJson

public static TroubleshootingRecommendedActions fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

Applies to