IpRules Class

  • java.lang.Object
    • com.azure.resourcemanager.networkanalytics.models.IpRules

public final class IpRules

IP rule with specific IP or IP range in CIDR format.

Constructor Summary

Constructor Description
IpRules()

Creates an instance of IpRules class.

Method Summary

Modifier and Type Method and Description
String action()

Get the action property: The action of virtual network rule.

void validate()

Validates the instance.

String value()

Get the value property: IP Rules Value.

IpRules withAction(String action)

Set the action property: The action of virtual network rule.

IpRules withValue(String value)

Set the value property: IP Rules Value.

Methods inherited from java.lang.Object

Constructor Details

IpRules

public IpRules()

Creates an instance of IpRules class.

Method Details

action

public String action()

Get the action property: The action of virtual network rule.

Returns:

the action value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: IP Rules Value.

Returns:

the value value.

withAction

public IpRules withAction(String action)

Set the action property: The action of virtual network rule.

Parameters:

action - the action value to set.

Returns:

the IpRules object itself.

withValue

public IpRules withValue(String value)

Set the value property: IP Rules Value.

Parameters:

value - the value value to set.

Returns:

the IpRules object itself.

Applies to