FirewallRuleProperties Class
- java.
lang. Object - com.
azure. resourcemanager. mongocluster. models. FirewallRuleProperties
- com.
Implements
public final class FirewallRuleProperties
implements JsonSerializable<FirewallRuleProperties>
The properties of a mongo cluster firewall rule.
Constructor Summary
| Constructor | Description |
|---|---|
| FirewallRuleProperties() |
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 |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
startIpAddress()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Firewall |
withEndIpAddress(String endIpAddress)
Set the end |
|
Firewall |
withStartIpAddress(String startIpAddress)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
FirewallRuleProperties
public FirewallRuleProperties()
Creates an instance of FirewallRuleProperties class.
Method Details
endIpAddress
public String endIpAddress()
Get the endIpAddress property: The end IP address of the mongo cluster firewall rule. Must be IPv4 format.
Returns:
fromJson
public static FirewallRuleProperties fromJson(JsonReader jsonReader)
Reads an instance of FirewallRuleProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the firewall rule.
Returns:
startIpAddress
public String startIpAddress()
Get the startIpAddress property: The start IP address of the mongo cluster firewall rule. Must be IPv4 format.
Returns:
toJson
withEndIpAddress
public FirewallRuleProperties withEndIpAddress(String endIpAddress)
Set the endIpAddress property: The end IP address of the mongo cluster firewall rule. Must be IPv4 format.
Parameters:
Returns:
withStartIpAddress
public FirewallRuleProperties withStartIpAddress(String startIpAddress)
Set the startIpAddress property: The start IP address of the mongo cluster firewall rule. Must be IPv4 format.
Parameters:
Returns: