共用方式為


TroubleshootingDetails Class

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

Implements

public final class TroubleshootingDetails
implements JsonSerializable<TroubleshootingDetails>

Information gained from troubleshooting of specified resource.

Constructor Summary

Constructor Description
TroubleshootingDetails()

Creates an instance of TroubleshootingDetails class.

Method Summary

Modifier and Type Method and Description
String detail()

Get the detail property: Details on troubleshooting results.

static TroubleshootingDetails fromJson(JsonReader jsonReader)

Reads an instance of TroubleshootingDetails from the JsonReader.

String id()

Get the id property: The id of the get troubleshoot operation.

String reasonType()

Get the reasonType property: Reason type of failure.

List<TroubleshootingRecommendedActions> recommendedActions()

Get the recommendedActions property: List of recommended actions.

String summary()

Get the summary property: A summary of troubleshooting.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TroubleshootingDetails withDetail(String detail)

Set the detail property: Details on troubleshooting results.

TroubleshootingDetails withId(String id)

Set the id property: The id of the get troubleshoot operation.

TroubleshootingDetails withReasonType(String reasonType)

Set the reasonType property: Reason type of failure.

TroubleshootingDetails withRecommendedActions(List<TroubleshootingRecommendedActions> recommendedActions)

Set the recommendedActions property: List of recommended actions.

TroubleshootingDetails withSummary(String summary)

Set the summary property: A summary of troubleshooting.

Methods inherited from java.lang.Object

Constructor Details

TroubleshootingDetails

public TroubleshootingDetails()

Creates an instance of TroubleshootingDetails class.

Method Details

detail

public String detail()

Get the detail property: Details on troubleshooting results.

Returns:

the detail value.

fromJson

public static TroubleshootingDetails fromJson(JsonReader jsonReader)

Reads an instance of TroubleshootingDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TroubleshootingDetails 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 TroubleshootingDetails.

id

public String id()

Get the id property: The id of the get troubleshoot operation.

Returns:

the id value.

reasonType

public String reasonType()

Get the reasonType property: Reason type of failure.

Returns:

the reasonType value.

recommendedActions

public List recommendedActions()

Get the recommendedActions property: List of recommended actions.

Returns:

the recommendedActions value.

summary

public String summary()

Get the summary property: A summary of troubleshooting.

Returns:

the summary value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDetail

public TroubleshootingDetails withDetail(String detail)

Set the detail property: Details on troubleshooting results.

Parameters:

detail - the detail value to set.

Returns:

the TroubleshootingDetails object itself.

withId

public TroubleshootingDetails withId(String id)

Set the id property: The id of the get troubleshoot operation.

Parameters:

id - the id value to set.

Returns:

the TroubleshootingDetails object itself.

withReasonType

public TroubleshootingDetails withReasonType(String reasonType)

Set the reasonType property: Reason type of failure.

Parameters:

reasonType - the reasonType value to set.

Returns:

the TroubleshootingDetails object itself.

withRecommendedActions

public TroubleshootingDetails withRecommendedActions(List recommendedActions)

Set the recommendedActions property: List of recommended actions.

Parameters:

recommendedActions - the recommendedActions value to set.

Returns:

the TroubleshootingDetails object itself.

withSummary

public TroubleshootingDetails withSummary(String summary)

Set the summary property: A summary of troubleshooting.

Parameters:

summary - the summary value to set.

Returns:

the TroubleshootingDetails object itself.

Applies to