Class TroubleshootingDetails
- java.lang.Object
-
- com.azure.resourcemanager.network.models.TroubleshootingDetails
-
public final class TroubleshootingDetails extends Object
Information gained from troubleshooting of specified resource.
-
-
Constructor Summary
Constructors Constructor Description TroubleshootingDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdetail()Get the detail property: Details on troubleshooting results.Stringid()Get the id property: The id of the get troubleshoot operation.StringreasonType()Get the reasonType property: Reason type of failure.List<TroubleshootingRecommendedActions>recommendedActions()Get the recommendedActions property: List of recommended actions.Stringsummary()Get the summary property: A summary of troubleshooting.voidvalidate()Validates the instance.TroubleshootingDetailswithDetail(String detail)Set the detail property: Details on troubleshooting results.TroubleshootingDetailswithId(String id)Set the id property: The id of the get troubleshoot operation.TroubleshootingDetailswithReasonType(String reasonType)Set the reasonType property: Reason type of failure.TroubleshootingDetailswithRecommendedActions(List<TroubleshootingRecommendedActions> recommendedActions)Set the recommendedActions property: List of recommended actions.TroubleshootingDetailswithSummary(String summary)Set the summary property: A summary of troubleshooting.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The id of the get troubleshoot operation.- Returns:
- the id value.
-
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.
-
reasonType
public String reasonType()
Get the reasonType property: Reason type of failure.- Returns:
- the reasonType value.
-
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.
-
summary
public String summary()
Get the summary property: A summary of troubleshooting.- Returns:
- the summary value.
-
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.
-
detail
public String detail()
Get the detail property: Details on troubleshooting results.- Returns:
- the detail value.
-
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.
-
recommendedActions
public List<TroubleshootingRecommendedActions> 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.
-
-