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