NWRuleSetIpRules Class

  • java.lang.Object
    • com.azure.resourcemanager.eventhubs.models.NWRuleSetIpRules

public final class NWRuleSetIpRules

The response from the List namespace operation.

Constructor Summary

Constructor Description
NWRuleSetIpRules()

Method Summary

Modifier and Type Method and Description
NetworkRuleIpAction action()

Get the action property: The IP Filter Action.

String ipMask()

Get the ipMask property: IP Mask.

void validate()

Validates the instance.

NWRuleSetIpRules withAction(NetworkRuleIpAction action)

Set the action property: The IP Filter Action.

NWRuleSetIpRules withIpMask(String ipMask)

Set the ipMask property: IP Mask.

Methods inherited from java.lang.Object

Constructor Details

NWRuleSetIpRules

public NWRuleSetIpRules()

Method Details

action

public NetworkRuleIpAction action()

Get the action property: The IP Filter Action.

Returns:

the action value.

ipMask

public String ipMask()

Get the ipMask property: IP Mask.

Returns:

the ipMask value.

validate

public void validate()

Validates the instance.

withAction

public NWRuleSetIpRules withAction(NetworkRuleIpAction action)

Set the action property: The IP Filter Action.

Parameters:

action - the action value to set.

Returns:

the NWRuleSetIpRules object itself.

withIpMask

public NWRuleSetIpRules withIpMask(String ipMask)

Set the ipMask property: IP Mask.

Parameters:

ipMask - the ipMask value to set.

Returns:

the NWRuleSetIpRules object itself.

Applies to