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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java