NWRuleSetIpRules Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. models. NWRuleSetIpRules
- com.
Implements
public final class NWRuleSetIpRules
implements JsonSerializable<NWRuleSetIpRules>
Description of NetWorkRuleSet - IpRules resource.
Constructor Summary
Constructor | Description |
---|---|
NWRuleSetIpRules() |
Creates an instance of NWRule |
Method Summary
Modifier and Type | Method and Description |
---|---|
Network |
action()
Get the action property: The IP Filter Action. |
static
NWRule |
fromJson(JsonReader jsonReader)
Reads an instance of NWRule |
String |
ipMask()
Get the ip |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
NWRule |
withAction(NetworkRuleIpAction action)
Set the action property: The IP Filter Action. |
NWRule |
withIpMask(String ipMask)
Set the ip |
Methods inherited from java.lang.Object
Constructor Details
NWRuleSetIpRules
public NWRuleSetIpRules()
Creates an instance of NWRuleSetIpRules class.
Method Details
action
public NetworkRuleIpAction action()
Get the action property: The IP Filter Action.
Returns:
fromJson
public static NWRuleSetIpRules fromJson(JsonReader jsonReader)
Reads an instance of NWRuleSetIpRules from the JsonReader.
Parameters:
Returns:
Throws:
ipMask
public String ipMask()
Get the ipMask property: IP Mask.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAction
public NWRuleSetIpRules withAction(NetworkRuleIpAction action)
Set the action property: The IP Filter Action.
Parameters:
Returns:
withIpMask
public NWRuleSetIpRules withIpMask(String ipMask)
Set the ipMask property: IP Mask.
Parameters:
Returns:
Applies to
Azure SDK for Java