Class NetworkAcl
- java.lang.Object
-
- com.azure.resourcemanager.signalr.models.NetworkAcl
-
- Direct Known Subclasses:
PrivateEndpointAcl
public class NetworkAcl extends Object
Network ACL.
-
-
Constructor Summary
Constructors Constructor Description NetworkAcl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SignalRRequestType>
allow()
Get the allow property: Allowed request types.List<SignalRRequestType>
deny()
Get the deny property: Denied request types.void
validate()
Validates the instance.NetworkAcl
withAllow(List<SignalRRequestType> allow)
Set the allow property: Allowed request types.NetworkAcl
withDeny(List<SignalRRequestType> deny)
Set the deny property: Denied request types.
-
-
-
Method Detail
-
allow
public List<SignalRRequestType> allow()
Get the allow property: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.- Returns:
- the allow value.
-
withAllow
public NetworkAcl withAllow(List<SignalRRequestType> allow)
Set the allow property: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.- Parameters:
allow
- the allow value to set.- Returns:
- the NetworkAcl object itself.
-
deny
public List<SignalRRequestType> deny()
Get the deny property: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.- Returns:
- the deny value.
-
withDeny
public NetworkAcl withDeny(List<SignalRRequestType> deny)
Set the deny property: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.- Parameters:
deny
- the deny value to set.- Returns:
- the NetworkAcl object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-