IpRule Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. IpRule
- com.
public final class IpRule
An IP rule.
Constructor Summary
| Constructor | Description |
|---|---|
| IpRule() |
Creates an instance of Ip |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Acl |
action()
Get the action property: Azure Networking ACL Action. |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: An IP or CIDR or Service |
|
Ip |
withAction(AclAction action)
Set the action property: Azure Networking ACL Action. |
|
Ip |
withValue(String value)
Set the value property: An IP or CIDR or Service |
Methods inherited from java.lang.Object
Constructor Details
IpRule
public IpRule()
Creates an instance of IpRule class.
Method Details
action
public AclAction action()
Get the action property: Azure Networking ACL Action.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: An IP or CIDR or ServiceTag.
Returns:
withAction
public IpRule withAction(AclAction action)
Set the action property: Azure Networking ACL Action.
Parameters:
Returns:
withValue
public IpRule withValue(String value)
Set the value property: An IP or CIDR or ServiceTag.
Parameters:
Returns: