IpFirewallRuleProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.fluent.models.IpFirewallRuleProperties

Implements

public final class IpFirewallRuleProperties
implements JsonSerializable<IpFirewallRuleProperties>

IP firewall rule properties.

Constructor Summary

Constructor Description
IpFirewallRuleProperties()

Creates an instance of IpFirewallRuleProperties class.

Method Summary

Modifier and Type Method and Description
String endIpAddress()

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

static IpFirewallRuleProperties fromJson(JsonReader jsonReader)

Reads an instance of IpFirewallRuleProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: Resource provisioning state.

String startIpAddress()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IpFirewallRuleProperties withEndIpAddress(String endIpAddress)

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

IpFirewallRuleProperties withStartIpAddress(String startIpAddress)

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

Methods inherited from java.lang.Object

Constructor Details

IpFirewallRuleProperties

public IpFirewallRuleProperties()

Creates an instance of IpFirewallRuleProperties class.

Method Details

endIpAddress

public String endIpAddress()

Get the endIpAddress property: The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress.

Returns:

the endIpAddress value.

fromJson

public static IpFirewallRuleProperties fromJson(JsonReader jsonReader)

Reads an instance of IpFirewallRuleProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IpFirewallRuleProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the IpFirewallRuleProperties.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Resource provisioning state.

Returns:

the provisioningState value.

startIpAddress

public String startIpAddress()

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

Returns:

the startIpAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEndIpAddress

public IpFirewallRuleProperties withEndIpAddress(String endIpAddress)

Set the endIpAddress property: The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress.

Parameters:

endIpAddress - the endIpAddress value to set.

Returns:

the IpFirewallRuleProperties object itself.

withStartIpAddress

public IpFirewallRuleProperties withStartIpAddress(String startIpAddress)

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

Parameters:

startIpAddress - the startIpAddress value to set.

Returns:

the IpFirewallRuleProperties object itself.

Applies to