NetworkAcl Class

  • java.lang.Object
    • com.azure.resourcemanager.signalr.models.NetworkAcl

public class NetworkAcl

Network ACL.

Constructor Summary

Constructor Description
NetworkAcl()

Creates an instance of NetworkAcl class.

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

NetworkAcl

public NetworkAcl()

Creates an instance of NetworkAcl class.

Method Details

allow

public List allow()

Get the allow property: Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.

Returns:

the allow value.

deny

public List deny()

Get the deny property: Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.

Returns:

the deny value.

validate

public void validate()

Validates the instance.

withAllow

public NetworkAcl withAllow(List 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.

withDeny

public NetworkAcl withDeny(List 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.

Applies to