com.microsoft.azure.management.network.TopologyParameters 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 com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Parameters that define the representation of topology.
*/
public class TopologyParameters {
/**
* The name of the target resource group to perform topology on.
*/
@JsonProperty(value = "targetResourceGroupName")
private String targetResourceGroupName;
/**
* The reference of the Virtual Network resource.
*/
@JsonProperty(value = "targetVirtualNetwork")
private SubResource targetVirtualNetwork;
/**
* The reference of the Subnet resource.
*/
@JsonProperty(value = "targetSubnet")
private SubResource targetSubnet;
/**
* Get the targetResourceGroupName value.
*
* @return the targetResourceGroupName value
*/
public String targetResourceGroupName() {
return this.targetResourceGroupName;
}
/**
* Set the targetResourceGroupName value.
*
* @param targetResourceGroupName the targetResourceGroupName value to set
* @return the TopologyParameters object itself.
*/
public TopologyParameters withTargetResourceGroupName(String targetResourceGroupName) {
this.targetResourceGroupName = targetResourceGroupName;
return this;
}
/**
* Get the targetVirtualNetwork value.
*
* @return the targetVirtualNetwork value
*/
public SubResource targetVirtualNetwork() {
return this.targetVirtualNetwork;
}
/**
* Set the targetVirtualNetwork value.
*
* @param targetVirtualNetwork the targetVirtualNetwork value to set
* @return the TopologyParameters object itself.
*/
public TopologyParameters withTargetVirtualNetwork(SubResource targetVirtualNetwork) {
this.targetVirtualNetwork = targetVirtualNetwork;
return this;
}
/**
* Get the targetSubnet value.
*
* @return the targetSubnet value
*/
public SubResource targetSubnet() {
return this.targetSubnet;
}
/**
* Set the targetSubnet value.
*
* @param targetSubnet the targetSubnet value to set
* @return the TopologyParameters object itself.
*/
public TopologyParameters withTargetSubnet(SubResource targetSubnet) {
this.targetSubnet = targetSubnet;
return this;
}
}