All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.network.implementation.TroubleshootingResultInner Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Network Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 1.41.4
Show newest version
/**
 * 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.
 */
public class TroubleshootingResultInner {
    /**
     * The start time of the troubleshooting.
     */
    @JsonProperty(value = "startTime")
    private DateTime startTime;

    /**
     * The end time of the troubleshooting.
     */
    @JsonProperty(value = "endTime")
    private DateTime endTime;

    /**
     * The result code of the troubleshooting.
     */
    @JsonProperty(value = "code")
    private String code;

    /**
     * Information from troubleshooting.
     */
    @JsonProperty(value = "results")
    private List results;

    /**
     * Get the start time of the troubleshooting.
     *
     * @return the startTime value
     */
    public DateTime startTime() {
        return this.startTime;
    }

    /**
     * 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.
     *
     * @return the endTime value
     */
    public DateTime endTime() {
        return this.endTime;
    }

    /**
     * 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.
     *
     * @return the code value
     */
    public String code() {
        return this.code;
    }

    /**
     * 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.
     *
     * @return the results value
     */
    public List results() {
        return this.results;
    }

    /**
     * Set information from troubleshooting.
     *
     * @param results the results value to set
     * @return the TroubleshootingResultInner object itself.
     */
    public TroubleshootingResultInner withResults(List results) {
        this.results = results;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy