VirtualNetworkRule Class
- java.
lang. Object - com.
azure. resourcemanager. networkanalytics. models. VirtualNetworkRule
- com.
public final class VirtualNetworkRule
Virtual Network Rule.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkRule() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
action()
Get the action property: The action of virtual network rule. |
| String |
id()
Get the id property: Resource ID of a subnet. |
| String |
state()
Get the state property: Gets the state of virtual network rule. |
| void |
validate()
Validates the instance. |
|
Virtual |
withAction(String action)
Set the action property: The action of virtual network rule. |
|
Virtual |
withId(String id)
Set the id property: Resource ID of a subnet. |
|
Virtual |
withState(String state)
Set the state property: Gets the state of virtual network rule. |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkRule
public VirtualNetworkRule()
Creates an instance of VirtualNetworkRule class.
Method Details
action
public String action()
Get the action property: The action of virtual network rule.
Returns:
id
public String id()
Get the id property: Resource ID of a subnet.
Returns:
state
public String state()
Get the state property: Gets the state of virtual network rule.
Returns:
validate
public void validate()
Validates the instance.
withAction
public VirtualNetworkRule withAction(String action)
Set the action property: The action of virtual network rule.
Parameters:
Returns:
withId
public VirtualNetworkRule withId(String id)
Set the id property: Resource ID of a subnet.
Parameters:
Returns:
withState
public VirtualNetworkRule withState(String state)
Set the state property: Gets the state of virtual network rule.
Parameters:
Returns: