IPv6FirewallRuleInner Class
- 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
- com.
- com.
- com.
- com.
public final class IPv6FirewallRuleInner
extends ProxyResourceWithWritableName
An IPv6 server firewall rule.
Constructor Summary
Constructor | Description |
---|---|
IPv6FirewallRuleInner() |
Creates an instance of IPv6Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
endIPv6Address()
Get the end |
static
IPv6Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of IPv6Firewall |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
startIPv6Address()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
IPv6Firewall |
withEndIPv6Address(String endIPv6Address)
Set the end |
IPv6Firewall |
withName(String name)
Set the name property: Resource name. |
IPv6Firewall |
withStartIPv6Address(String startIPv6Address)
Set the start |
Methods inherited from ProxyResourceWithWritableName
Methods inherited from ResourceWithWritableName
Methods inherited from java.lang.Object
Constructor Details
IPv6FirewallRuleInner
public IPv6FirewallRuleInner()
Creates an instance of IPv6FirewallRuleInner class.
Method Details
endIPv6Address
public String 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:
fromJson
public static IPv6FirewallRuleInner fromJson(JsonReader jsonReader)
Reads an instance of IPv6FirewallRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
IPv6FirewallRuleInner.id()Returns:
startIPv6Address
public String startIPv6Address()
Get the startIPv6Address property: The start IP address of the firewall rule. Must be IPv6 format.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
IPv6FirewallRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
IPv6FirewallRuleInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
IPv6FirewallRuleInner.validate()withEndIPv6Address
public IPv6FirewallRuleInner withEndIPv6Address(String endIPv6Address)
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:
Returns:
withName
public IPv6FirewallRuleInner withName(String name)
Set the name property: Resource name.
Overrides:
IPv6FirewallRuleInner.withName(String name)Parameters:
withStartIPv6Address
public IPv6FirewallRuleInner withStartIPv6Address(String startIPv6Address)
Set the startIPv6Address property: The start IP address of the firewall rule. Must be IPv6 format.
Parameters:
Returns:
Applies to
Azure SDK for Java