InboundIpRule Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. InboundIpRule
- com.
public final class InboundIpRule
The InboundIpRule model.
Constructor Summary
Constructor | Description | |
---|---|---|
InboundIpRule() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Ip |
action()
Get the action property: Action to perform based on the match or no match of the Ip |
String |
ipMask()
Get the ip |
void |
validate()
Validates the instance. |
Inbound |
withAction(IpActionType action)
Set the action property: Action to perform based on the match or no match of the Ip |
Inbound |
withIpMask(String ipMask)
Set the ip |
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:
ipMask
public String ipMask()
Get the ipMask property: IP Address in CIDR notation e.g., 10.0.0.0/8.
Returns:
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:
Returns:
withIpMask
public InboundIpRule withIpMask(String ipMask)
Set the ipMask property: IP Address in CIDR notation e.g., 10.0.0.0/8.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for