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.
/**
* 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.implementation;
import org.joda.time.DateTime;
import java.util.List;
import com.microsoft.azure.management.network.TroubleshootingDetails;
import com.fasterxml.jackson.annotation.JsonProperty;
Troubleshooting information gained from specified resource.
/**
* Troubleshooting information gained from specified resource.
*/
public class TroubleshootingResultInner {
The start time of the troubleshooting.
/**
* The start time of the troubleshooting.
*/
@JsonProperty(value = "startTime")
private DateTime startTime;
The end time of the troubleshooting.
/**
* The end time of the troubleshooting.
*/
@JsonProperty(value = "endTime")
private DateTime endTime;
The result code of the troubleshooting.
/**
* The result code of the troubleshooting.
*/
@JsonProperty(value = "code")
private String code;
Information from troubleshooting.
/**
* Information from troubleshooting.
*/
@JsonProperty(value = "results")
private List<TroubleshootingDetails> results;
Get the start time of the troubleshooting.
Returns: the startTime value
/**
* Get the start time of the troubleshooting.
*
* @return the startTime value
*/
public DateTime startTime() {
return this.startTime;
}
Set the start time of the troubleshooting.
Params: - startTime – the startTime value to set
Returns: the TroubleshootingResultInner object itself.
/**
* Set the start time of the troubleshooting.
*
* @param startTime the startTime value to set
* @return the TroubleshootingResultInner object itself.
*/
public TroubleshootingResultInner withStartTime(DateTime startTime) {
this.startTime = startTime;
return this;
}
Get the end time of the troubleshooting.
Returns: the endTime value
/**
* Get the end time of the troubleshooting.
*
* @return the endTime value
*/
public DateTime endTime() {
return this.endTime;
}
Set the end time of the troubleshooting.
Params: - endTime – the endTime value to set
Returns: the TroubleshootingResultInner object itself.
/**
* Set the end time of the troubleshooting.
*
* @param endTime the endTime value to set
* @return the TroubleshootingResultInner object itself.
*/
public TroubleshootingResultInner withEndTime(DateTime endTime) {
this.endTime = endTime;
return this;
}
Get the result code of the troubleshooting.
Returns: the code value
/**
* Get the result code of the troubleshooting.
*
* @return the code value
*/
public String code() {
return this.code;
}
Set the result code of the troubleshooting.
Params: - code – the code value to set
Returns: the TroubleshootingResultInner object itself.
/**
* Set the result code of the troubleshooting.
*
* @param code the code value to set
* @return the TroubleshootingResultInner object itself.
*/
public TroubleshootingResultInner withCode(String code) {
this.code = code;
return this;
}
Get information from troubleshooting.
Returns: the results value
/**
* Get information from troubleshooting.
*
* @return the results value
*/
public List<TroubleshootingDetails> results() {
return this.results;
}
Set information from troubleshooting.
Params: - results – the results value to set
Returns: the TroubleshootingResultInner object itself.
/**
* Set information from troubleshooting.
*
* @param results the results value to set
* @return the TroubleshootingResultInner object itself.
*/
public TroubleshootingResultInner withResults(List<TroubleshootingDetails> results) {
this.results = results;
return this;
}
}