Class TroubleshootingDetails
java.lang.Object
com.azure.resourcemanager.network.models.TroubleshootingDetails
Information gained from troubleshooting of specified resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TroubleshootingDetails class. -
Method Summary
Modifier and TypeMethodDescriptiondetail()Get the detail property: Details on troubleshooting results.id()Get the id property: The id of the get troubleshoot operation.Get the reasonType property: Reason type of failure.Get the recommendedActions property: List of recommended actions.summary()Get the summary property: A summary of troubleshooting.voidvalidate()Validates the instance.withDetail(String detail) Set the detail property: Details on troubleshooting results.Set the id property: The id of the get troubleshoot operation.withReasonType(String reasonType) Set the reasonType property: Reason type of failure.withRecommendedActions(List<TroubleshootingRecommendedActions> recommendedActions) Set the recommendedActions property: List of recommended actions.withSummary(String summary) Set the summary property: A summary of troubleshooting.
-
Constructor Details
-
TroubleshootingDetails
public TroubleshootingDetails()Creates an instance of TroubleshootingDetails class.
-
-
Method Details
-
id
Get the id property: The id of the get troubleshoot operation.- Returns:
- the id value.
-
withId
Set the id property: The id of the get troubleshoot operation.- Parameters:
id- the id value to set.- Returns:
- the TroubleshootingDetails object itself.
-
reasonType
Get the reasonType property: Reason type of failure.- Returns:
- the reasonType value.
-
withReasonType
Set the reasonType property: Reason type of failure.- Parameters:
reasonType- the reasonType value to set.- Returns:
- the TroubleshootingDetails object itself.
-
summary
Get the summary property: A summary of troubleshooting.- Returns:
- the summary value.
-
withSummary
Set the summary property: A summary of troubleshooting.- Parameters:
summary- the summary value to set.- Returns:
- the TroubleshootingDetails object itself.
-
detail
Get the detail property: Details on troubleshooting results.- Returns:
- the detail value.
-
withDetail
Set the detail property: Details on troubleshooting results.- Parameters:
detail- the detail value to set.- Returns:
- the TroubleshootingDetails object itself.
-
recommendedActions
Get the recommendedActions property: List of recommended actions.- Returns:
- the recommendedActions value.
-
withRecommendedActions
public TroubleshootingDetails withRecommendedActions(List<TroubleshootingRecommendedActions> recommendedActions) Set the recommendedActions property: List of recommended actions.- Parameters:
recommendedActions- the recommendedActions value to set.- Returns:
- the TroubleshootingDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-