Class IPv6FirewallRuleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.models.ResourceWithWritableName
com.azure.resourcemanager.sql.models.ProxyResourceWithWritableName
com.azure.resourcemanager.sql.fluent.models.IPv6FirewallRuleInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
An IPv6 server firewall rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the endIPv6Address property: The end IP address of the firewall rule.Get the startIPv6Address property: The start IP address of the firewall rule.voidvalidate()Validates the instance.withEndIPv6Address(String endIPv6Address) Set the endIPv6Address property: The end IP address of the firewall rule.Set the name property: Resource name.withStartIPv6Address(String startIPv6Address) Set the startIPv6Address property: The start IP address of the firewall rule.Methods inherited from class com.azure.resourcemanager.sql.models.ResourceWithWritableName
nameMethods inherited from class com.azure.core.management.ProxyResource
fromJson, id, toJson, type
-
Constructor Details
-
IPv6FirewallRuleInner
public IPv6FirewallRuleInner()Creates an instance of IPv6FirewallRuleInner class.
-
-
Method Details
-
withName
Set the name property: Resource name.- Overrides:
withNamein classProxyResourceWithWritableName- Parameters:
name- the name value to set.- Returns:
- the ResourceWithWritableName object itself.
-
startIPv6Address
Get the startIPv6Address property: The start IP address of the firewall rule. Must be IPv6 format.- Returns:
- the startIPv6Address value.
-
withStartIPv6Address
Set the startIPv6Address property: The start IP address of the firewall rule. Must be IPv6 format.- Parameters:
startIPv6Address- the startIPv6Address value to set.- Returns:
- the IPv6FirewallRuleInner object itself.
-
endIPv6Address
Get the endIPv6Address property: The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to startIpAddress.- Returns:
- the endIPv6Address value.
-
withEndIPv6Address
Set the endIPv6Address property: The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to startIpAddress.- Parameters:
endIPv6Address- the endIPv6Address value to set.- Returns:
- the IPv6FirewallRuleInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyResourceWithWritableName- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-