NetworkRuleSetIpRule Class
- java.
lang. Object - com.
azure. resourcemanager. iotcentral. models. NetworkRuleSetIpRule
- com.
Implements
public final class NetworkRuleSetIpRule
implements JsonSerializable<NetworkRuleSetIpRule>
An object for an IP range that will be allowed access.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkRuleSetIpRule() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Ip |
action()
Get the action property: The network action for the IP mask. |
| String |
filterName()
Get the filter |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| String |
ipMask()
Get the ip |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withFilterName(String filterName)
Set the filter |
|
Network |
withIpMask(String ipMask)
Set the ip |
Methods inherited from java.lang.Object
Constructor Details
NetworkRuleSetIpRule
public NetworkRuleSetIpRule()
Creates an instance of NetworkRuleSetIpRule class.
Method Details
action
public IpRuleAction action()
Get the action property: The network action for the IP mask.
Returns:
filterName
public String filterName()
Get the filterName property: The readable name of the IP rule.
Returns:
fromJson
public static NetworkRuleSetIpRule fromJson(JsonReader jsonReader)
Reads an instance of NetworkRuleSetIpRule from the JsonReader.
Parameters:
Returns:
Throws:
ipMask
public String ipMask()
Get the ipMask property: The CIDR block defining the IP range.
Returns:
toJson
validate
public void validate()
Validates the instance.
withFilterName
public NetworkRuleSetIpRule withFilterName(String filterName)
Set the filterName property: The readable name of the IP rule.
Parameters:
Returns:
withIpMask
public NetworkRuleSetIpRule withIpMask(String ipMask)
Set the ipMask property: The CIDR block defining the IP range.
Parameters:
Returns: