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