IpRules Class
- java.
lang. Object - com.
azure. resourcemanager. networkanalytics. models. IpRules
- com.
public final class IpRules
IP rule with specific IP or IP range in CIDR format.
Constructor Summary
| Constructor | Description |
|---|---|
| IpRules() |
Creates an instance of Ip |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
action()
Get the action property: The action of virtual network rule. |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: IP Rules Value. |
|
Ip |
withAction(String action)
Set the action property: The action of virtual network rule. |
|
Ip |
withValue(String value)
Set the value property: IP Rules Value. |
Methods inherited from java.lang.Object
Constructor Details
IpRules
public IpRules()
Creates an instance of IpRules class.
Method Details
action
public String action()
Get the action property: The action of virtual network rule.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: IP Rules Value.
Returns:
withAction
public IpRules withAction(String action)
Set the action property: The action of virtual network rule.
Parameters:
Returns:
withValue
public IpRules withValue(String value)
Set the value property: IP Rules Value.
Parameters:
Returns: