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.
/**
* 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.keyvault;
import com.fasterxml.jackson.annotation.JsonProperty;
A rule governing the accesibility of a vault from a specific virtual
network.
/**
* A rule governing the accesibility of a vault from a specific virtual
* network.
*/
public class VirtualNetworkRule {
Full resource id of a vnet subnet, such as
'/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
/**
* Full resource id of a vnet subnet, such as
* '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'.
*/
@JsonProperty(value = "id", required = true)
private String id;
Get the id value.
Returns: the id value
/**
* Get the id value.
*
* @return the id value
*/
public String id() {
return this.id;
}
Set the id value.
Params: - id – the id value to set
Returns: the VirtualNetworkRule object itself.
/**
* Set the id value.
*
* @param id the id value to set
* @return the VirtualNetworkRule object itself.
*/
public VirtualNetworkRule withId(String id) {
this.id = id;
return this;
}
}