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

com.microsoft.azure.management.network.TopologyResource 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;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The network resource topology information for the given resource group.
 */
public class TopologyResource {
    /**
     * Name of the resource.
     */
    @JsonProperty(value = "name")
    private String name;

    /**
     * ID of the resource.
     */
    @JsonProperty(value = "id")
    private String id;

    /**
     * Resource location.
     */
    @JsonProperty(value = "location")
    private String location;

    /**
     * Holds the associations the resource has with other resources in the
     * resource group.
     */
    @JsonProperty(value = "associations")
    private List associations;

    /**
     * Get name of the resource.
     *
     * @return the name value
     */
    public String name() {
        return this.name;
    }

    /**
     * Set name of the resource.
     *
     * @param name the name value to set
     * @return the TopologyResource object itself.
     */
    public TopologyResource withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get iD of the resource.
     *
     * @return the id value
     */
    public String id() {
        return this.id;
    }

    /**
     * Set iD of the resource.
     *
     * @param id the id value to set
     * @return the TopologyResource object itself.
     */
    public TopologyResource withId(String id) {
        this.id = id;
        return this;
    }

    /**
     * Get resource location.
     *
     * @return the location value
     */
    public String location() {
        return this.location;
    }

    /**
     * Set resource location.
     *
     * @param location the location value to set
     * @return the TopologyResource object itself.
     */
    public TopologyResource withLocation(String location) {
        this.location = location;
        return this;
    }

    /**
     * Get holds the associations the resource has with other resources in the resource group.
     *
     * @return the associations value
     */
    public List associations() {
        return this.associations;
    }

    /**
     * Set holds the associations the resource has with other resources in the resource group.
     *
     * @param associations the associations value to set
     * @return the TopologyResource object itself.
     */
    public TopologyResource withAssociations(List associations) {
        this.associations = associations;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy