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