com.microsoft.azure.management.network.TroubleshootingDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-network is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Information gained from troubleshooting of specified resource.
*/
public class TroubleshootingDetails {
/**
* The id of the get troubleshoot operation.
*/
@JsonProperty(value = "id")
private String id;
/**
* Reason type of failure.
*/
@JsonProperty(value = "reasonType")
private String reasonType;
/**
* A summary of troubleshooting.
*/
@JsonProperty(value = "summary")
private String summary;
/**
* Details on troubleshooting results.
*/
@JsonProperty(value = "detail")
private String detail;
/**
* List of recommended actions.
*/
@JsonProperty(value = "recommendedActions")
private List recommendedActions;
/**
* Get the id value.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* Set the id value.
*
* @param id the id value to set
* @return the TroubleshootingDetails object itself.
*/
public TroubleshootingDetails withId(String id) {
this.id = id;
return this;
}
/**
* Get the reasonType value.
*
* @return the reasonType value
*/
public String reasonType() {
return this.reasonType;
}
/**
* Set the reasonType value.
*
* @param reasonType the reasonType value to set
* @return the TroubleshootingDetails object itself.
*/
public TroubleshootingDetails withReasonType(String reasonType) {
this.reasonType = reasonType;
return this;
}
/**
* Get the summary value.
*
* @return the summary value
*/
public String summary() {
return this.summary;
}
/**
* Set the summary value.
*
* @param summary the summary value to set
* @return the TroubleshootingDetails object itself.
*/
public TroubleshootingDetails withSummary(String summary) {
this.summary = summary;
return this;
}
/**
* Get the detail value.
*
* @return the detail value
*/
public String detail() {
return this.detail;
}
/**
* Set the detail value.
*
* @param detail the detail value to set
* @return the TroubleshootingDetails object itself.
*/
public TroubleshootingDetails withDetail(String detail) {
this.detail = detail;
return this;
}
/**
* Get the recommendedActions value.
*
* @return the recommendedActions value
*/
public List recommendedActions() {
return this.recommendedActions;
}
/**
* Set the recommendedActions value.
*
* @param recommendedActions the recommendedActions value to set
* @return the TroubleshootingDetails object itself.
*/
public TroubleshootingDetails withRecommendedActions(List recommendedActions) {
this.recommendedActions = recommendedActions;
return this;
}
}