Class IpFirewallRuleProperties
- java.lang.Object
-
- com.azure.resourcemanager.synapse.fluent.models.IpFirewallRuleProperties
-
public final class IpFirewallRuleProperties extends Object
IP firewall rule properties.
-
-
Constructor Summary
Constructors Constructor Description IpFirewallRuleProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
endIpAddress()
Get the endIpAddress property: The end IP address of the firewall rule.ProvisioningState
provisioningState()
Get the provisioningState property: Resource provisioning state.String
startIpAddress()
Get the startIpAddress property: The start IP address of the firewall rule.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.
-
-
-
Method Detail
-
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.
-
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.
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-