InboundIpRule Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.InboundIpRule

public final class InboundIpRule

The InboundIpRule model.

Constructor Summary

Constructor Description
InboundIpRule()

Method Summary

Modifier and Type Method and Description
IpActionType action()

Get the action property: Action to perform based on the match or no match of the IpMask.

String ipMask()

Get the ipMask property: IP Address in CIDR notation e.g., 10.0.0.0/8.

void validate()

Validates the instance.

InboundIpRule withAction(IpActionType action)

Set the action property: Action to perform based on the match or no match of the IpMask.

InboundIpRule withIpMask(String ipMask)

Set the ipMask property: IP Address in CIDR notation e.g., 10.0.0.0/8.

Methods inherited from java.lang.Object

Constructor Details

InboundIpRule

public InboundIpRule()

Method Details

action

public IpActionType action()

Get the action property: Action to perform based on the match or no match of the IpMask.

Returns:

the action value.

ipMask

public String ipMask()

Get the ipMask property: IP Address in CIDR notation e.g., 10.0.0.0/8.

Returns:

the ipMask value.

validate

public void validate()

Validates the instance.

withAction

public InboundIpRule withAction(IpActionType action)

Set the action property: Action to perform based on the match or no match of the IpMask.

Parameters:

action - the action value to set.

Returns:

the InboundIpRule object itself.

withIpMask

public InboundIpRule withIpMask(String ipMask)

Set the ipMask property: IP Address in CIDR notation e.g., 10.0.0.0/8.

Parameters:

ipMask - the ipMask value to set.

Returns:

the InboundIpRule object itself.

Applies to