FirewallRuleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. postgresqlflexibleserver. fluent. models. FirewallRuleInner
- com.
- com.
public final class FirewallRuleInner
extends ProxyResource
Firewall rule.
Constructor Summary
| Constructor | Description |
|---|---|
| FirewallRuleInner() |
Creates an instance of Firewall |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
endIpAddress()
Get the end |
|
static
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
startIpAddress()
Get the start |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Firewall |
withEndIpAddress(String endIpAddress)
Set the end |
|
Firewall |
withStartIpAddress(String startIpAddress)
Set the start |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
FirewallRuleInner
public FirewallRuleInner()
Creates an instance of FirewallRuleInner class.
Method Details
endIpAddress
public String endIpAddress()
Get the endIpAddress property: IP address defining the end of the range of addresses of a firewall rule. Must be expressed in IPv4 format.
Returns:
fromJson
public static FirewallRuleInner fromJson(JsonReader jsonReader)
Reads an instance of FirewallRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
FirewallRuleInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
FirewallRuleInner.name()Returns:
startIpAddress
public String startIpAddress()
Get the startIpAddress property: IP address defining the start of the range of addresses of a firewall rule. Must be expressed in IPv4 format.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FirewallRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
FirewallRuleInner.type()Returns:
validate
public void validate()
Validates the instance.
withEndIpAddress
public FirewallRuleInner withEndIpAddress(String endIpAddress)
Set the endIpAddress property: IP address defining the end of the range of addresses of a firewall rule. Must be expressed in IPv4 format.
Parameters:
Returns:
withStartIpAddress
public FirewallRuleInner withStartIpAddress(String startIpAddress)
Set the startIpAddress property: IP address defining the start of the range of addresses of a firewall rule. Must be expressed in IPv4 format.
Parameters:
Returns: