Class NginxPrivateIpAddress
java.lang.Object
com.azure.resourcemanager.nginx.models.NginxPrivateIpAddress
The NginxPrivateIpAddress model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the privateIpAddress property: The privateIPAddress property.Get the privateIpAllocationMethod property: The privateIPAllocationMethod property.subnetId()
Get the subnetId property: The subnetId property.void
validate()
Validates the instance.withPrivateIpAddress
(String privateIpAddress) Set the privateIpAddress property: The privateIPAddress property.withPrivateIpAllocationMethod
(NginxPrivateIpAllocationMethod privateIpAllocationMethod) Set the privateIpAllocationMethod property: The privateIPAllocationMethod property.withSubnetId
(String subnetId) Set the subnetId property: The subnetId property.
-
Constructor Details
-
NginxPrivateIpAddress
public NginxPrivateIpAddress()
-
-
Method Details
-
privateIpAddress
Get the privateIpAddress property: The privateIPAddress property.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
Set the privateIpAddress property: The privateIPAddress property.- Parameters:
privateIpAddress
- the privateIpAddress value to set.- Returns:
- the NginxPrivateIpAddress object itself.
-
privateIpAllocationMethod
Get the privateIpAllocationMethod property: The privateIPAllocationMethod property.- Returns:
- the privateIpAllocationMethod value.
-
withPrivateIpAllocationMethod
public NginxPrivateIpAddress withPrivateIpAllocationMethod(NginxPrivateIpAllocationMethod privateIpAllocationMethod) Set the privateIpAllocationMethod property: The privateIPAllocationMethod property.- Parameters:
privateIpAllocationMethod
- the privateIpAllocationMethod value to set.- Returns:
- the NginxPrivateIpAddress object itself.
-
subnetId
Get the subnetId property: The subnetId property.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: The subnetId property.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the NginxPrivateIpAddress object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-