NetworkAcl Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. NetworkAcl
- com.
public class NetworkAcl
Network ACL.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkAcl() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Web |
allow()
Get the allow property: Allowed request types. |
|
List<Web |
deny()
Get the deny property: Denied request types. |
| void |
validate()
Validates the instance. |
|
Network |
withAllow(List<WebPubSubRequestType> allow)
Set the allow property: Allowed request types. |
|
Network |
withDeny(List<WebPubSubRequestType> deny)
Set the deny property: Denied request types. |
Methods inherited from java.lang.Object
Constructor Details
NetworkAcl
public NetworkAcl()
Creates an instance of NetworkAcl class.
Method Details
allow
public List<WebPubSubRequestType> allow()
Get the allow property: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
Returns:
deny
public List<WebPubSubRequestType> deny()
Get the deny property: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
Returns:
validate
public void validate()
Validates the instance.
withAllow
public NetworkAcl withAllow(List<WebPubSubRequestType> allow)
Set the allow property: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
Parameters:
Returns:
withDeny
public NetworkAcl withDeny(List<WebPubSubRequestType> deny)
Set the deny property: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
Parameters:
Returns: