public class VirtualNetworkRule extends Object
| Constructor and Description |
|---|
VirtualNetworkRule() |
| Modifier and Type | Method and Description |
|---|---|
Action |
action()
Get the action value.
|
State |
state()
Get the state value.
|
String |
virtualNetworkResourceId()
Get the virtualNetworkResourceId value.
|
VirtualNetworkRule |
withAction(Action action)
Set the action value.
|
VirtualNetworkRule |
withState(State state)
Set the state value.
|
VirtualNetworkRule |
withVirtualNetworkResourceId(String virtualNetworkResourceId)
Set the virtualNetworkResourceId value.
|
public String virtualNetworkResourceId()
public VirtualNetworkRule withVirtualNetworkResourceId(String virtualNetworkResourceId)
virtualNetworkResourceId - the virtualNetworkResourceId value to setpublic Action action()
public VirtualNetworkRule withAction(Action action)
action - the action value to setpublic State state()
public VirtualNetworkRule withState(State state)
state - the state value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/