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 |
|---|---|
|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
| String |
name()
Get the name property: Name of the private endpoint connection. |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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
fromJson
public static PrivateEndpointAcl fromJson(JsonReader jsonReader)
Reads an instance of PrivateEndpointAcl from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the private endpoint connection.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PrivateEndpointAcl.toJson(JsonWriter jsonWriter)Parameters:
Throws:
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: