/**
* 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.appservice;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Specification for using a Virtual Network.
*/
public class VirtualNetworkProfile {
/**
* Resource id of the Virtual Network.
*/
@JsonProperty(value = "id")
private String id;
/**
* Name of the Virtual Network (read-only).
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;
/**
* Resource type of the Virtual Network (read-only).
*/
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;
/**
* Subnet within the Virtual Network.
*/
@JsonProperty(value = "subnet")
private String subnet;
/**
* Get the id value.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* Set the id value.
*
* @param id the id value to set
* @return the VirtualNetworkProfile object itself.
*/
public VirtualNetworkProfile withId(String id) {
this.id = id;
return this;
}
/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Get the type value.
*
* @return the type value
*/
public String type() {
return this.type;
}
/**
* Get the subnet value.
*
* @return the subnet value
*/
public String subnet() {
return this.subnet;
}
/**
* Set the subnet value.
*
* @param subnet the subnet value to set
* @return the VirtualNetworkProfile object itself.
*/
public VirtualNetworkProfile withSubnet(String subnet) {
this.subnet = subnet;
return this;
}
}