NWRuleSetIpRules Class
- java.
lang. Object - com.
microsoft. azure. management. eventhub. NWRuleSetIpRules
- com.
public class NWRuleSetIpRules
Description of NetWorkRuleSet - IpRules resource.
Constructor Summary
Constructor | Description | |
---|---|---|
NWRuleSetIpRules() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Network |
action()
Get the IP Filter Action. |
java.lang.String |
ipMask()
Get iP Mask. |
NWRule |
withAction(NetworkRuleIPAction action)
Set the IP Filter Action. |
NWRule |
withIpMask(String ipMask)
Set iP Mask. |
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
NWRuleSetIpRules
public NWRuleSetIpRules()
Method Details
action
public NetworkRuleIPAction action()
Get the IP Filter Action. Possible values include: 'Allow'.
Returns:
the action value
ipMask
public String ipMask()
Get iP Mask.
Returns:
the ipMask value
withAction
public NWRuleSetIpRules withAction(NetworkRuleIPAction action)
Set the IP Filter Action. Possible values include: 'Allow'.
Parameters:
action
- the action value to set
Returns:
the NWRuleSetIpRules object itself.
withIpMask
public NWRuleSetIpRules withIpMask(String ipMask)
Set iP Mask.
Parameters:
ipMask
- the ipMask value to set
Returns:
the NWRuleSetIpRules object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java