Class IpConfiguration
java.lang.Object
com.azure.resourcemanager.dnsresolver.models.IpConfiguration
IP configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the privateIpAddress property: Private IP address of the IP configuration.Get the privateIpAllocationMethod property: Private IP address allocation method.com.azure.core.management.SubResource
subnet()
Get the subnet property: The reference to the subnet bound to the IP configuration.void
validate()
Validates the instance.withPrivateIpAddress
(String privateIpAddress) Set the privateIpAddress property: Private IP address of the IP configuration.withPrivateIpAllocationMethod
(IpAllocationMethod privateIpAllocationMethod) Set the privateIpAllocationMethod property: Private IP address allocation method.withSubnet
(com.azure.core.management.SubResource subnet) Set the subnet property: The reference to the subnet bound to the IP configuration.
-
Constructor Details
-
IpConfiguration
public IpConfiguration()
-
-
Method Details
-
subnet
public com.azure.core.management.SubResource subnet()Get the subnet property: The reference to the subnet bound to the IP configuration.- Returns:
- the subnet value.
-
withSubnet
Set the subnet property: The reference to the subnet bound to the IP configuration.- Parameters:
subnet
- the subnet value to set.- Returns:
- the IpConfiguration object itself.
-
privateIpAddress
Get the privateIpAddress property: Private IP address of the IP configuration.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
Set the privateIpAddress property: Private IP address of the IP configuration.- Parameters:
privateIpAddress
- the privateIpAddress value to set.- Returns:
- the IpConfiguration object itself.
-
privateIpAllocationMethod
Get the privateIpAllocationMethod property: Private IP address allocation method.- Returns:
- the privateIpAllocationMethod value.
-
withPrivateIpAllocationMethod
Set the privateIpAllocationMethod property: Private IP address allocation method.- Parameters:
privateIpAllocationMethod
- the privateIpAllocationMethod value to set.- Returns:
- the IpConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-