FirewallRuleInner Class

public final class FirewallRuleInner
extends ProxyResource

Represents a server firewall rule.

Constructor Summary

Constructor Description
FirewallRuleInner()

Method Summary

Modifier and Type Method and Description
String endIpAddress()

Get the endIpAddress property: The end IP address of the server firewall rule.

String startIpAddress()

Get the startIpAddress property: The start IP address of the server firewall rule.

void validate()

Validates the instance.

FirewallRuleInner withEndIpAddress(String endIpAddress)

Set the endIpAddress property: The end IP address of the server firewall rule.

FirewallRuleInner withStartIpAddress(String startIpAddress)

Set the startIpAddress property: The start IP address of the server firewall rule.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

FirewallRuleInner

public FirewallRuleInner()

Method Details

endIpAddress

public String endIpAddress()

Get the endIpAddress property: The end IP address of the server firewall rule. Must be IPv4 format.

Returns:

the endIpAddress value.

startIpAddress

public String startIpAddress()

Get the startIpAddress property: The start IP address of the server firewall rule. Must be IPv4 format.

Returns:

the startIpAddress value.

validate

public void validate()

Validates the instance.

withEndIpAddress

public FirewallRuleInner withEndIpAddress(String endIpAddress)

Set the endIpAddress property: The end IP address of the server firewall rule. Must be IPv4 format.

Parameters:

endIpAddress - the endIpAddress value to set.

Returns:

the FirewallRuleInner object itself.

withStartIpAddress

public FirewallRuleInner withStartIpAddress(String startIpAddress)

Set the startIpAddress property: The start IP address of the server firewall rule. Must be IPv4 format.

Parameters:

startIpAddress - the startIpAddress value to set.

Returns:

the FirewallRuleInner object itself.

Applies to