Dela via


InboundIpRule Class

  • java.lang.Object
    • com.microsoft.azure.management.eventgrid.v2020_04_01_preview.InboundIpRule

public class InboundIpRule

The InboundIpRule model.

Constructor Summary

Constructor Description
InboundIpRule()

Method Summary

Modifier and Type Method and Description
IpActionType action()

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

java.lang.String ipMask()

Get iP Address in CIDR notation e.g., 10.0.0.0/8.

InboundIpRule withAction(IpActionType action)

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

InboundIpRule withIpMask(String ipMask)

Set iP Address in CIDR notation e.g., 10.0.0.0/8.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

InboundIpRule

public InboundIpRule()

Method Details

action

public IpActionType action()

Get action to perform based on the match or no match of the IpMask. Possible values include: 'Allow'.

Returns:

the action value

ipMask

public String ipMask()

Get iP Address in CIDR notation e.g., 10.0.0.0/8.

Returns:

the ipMask value

withAction

public InboundIpRule withAction(IpActionType action)

Set action to perform based on the match or no match of the IpMask. Possible values include: 'Allow'.

Parameters:

action - the action value to set

Returns:

the InboundIpRule object itself.

withIpMask

public InboundIpRule withIpMask(String ipMask)

Set 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