PrivateEndpointAcl Class

public final class PrivateEndpointAcl
extends NetworkAcl

ACL for a private endpoint.

Constructor Summary

Constructor Description
PrivateEndpointAcl()

Creates an instance of PrivateEndpointAcl class.

Method Summary

Modifier and Type Method and Description
static PrivateEndpointAcl fromJson(JsonReader jsonReader)

Reads an instance of PrivateEndpointAcl from the JsonReader.

String name()

Get the name property: Name of the private endpoint connection.

JsonWriter toJson(JsonWriter jsonWriter)
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 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:

jsonReader - The JsonReader being read.

Returns:

An instance of PrivateEndpointAcl if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

name

public String name()

Get the name property: Name of the private endpoint connection.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PrivateEndpointAcl.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

PrivateEndpointAcl.validate()

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:

PrivateEndpointAcl.withAllow(List<SignalRRequestType> allow)

Parameters:

allow

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:

PrivateEndpointAcl.withDeny(List<SignalRRequestType> deny)

Parameters:

deny

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.

Applies to