Class IpConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.dnsresolver.models.IpConfiguration
-
public final class IpConfiguration extends Object
IP configuration.
-
-
Constructor Summary
Constructors Constructor Description IpConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
privateIpAddress()
Get the privateIpAddress property: Private IP address of the IP configuration.IpAllocationMethod
privateIpAllocationMethod()
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.IpConfiguration
withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: Private IP address of the IP configuration.IpConfiguration
withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: Private IP address allocation method.IpConfiguration
withSubnet(com.azure.core.management.SubResource subnet)
Set the subnet property: The reference to the subnet bound to the IP configuration.
-
-
-
Method Detail
-
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
public IpConfiguration withSubnet(com.azure.core.management.SubResource subnet)
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
public String privateIpAddress()
Get the privateIpAddress property: Private IP address of the IP configuration.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
public IpConfiguration withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: Private IP address of the IP configuration.- Parameters:
privateIpAddress
- the privateIpAddress value to set.- Returns:
- the IpConfiguration object itself.
-
privateIpAllocationMethod
public IpAllocationMethod privateIpAllocationMethod()
Get the privateIpAllocationMethod property: Private IP address allocation method.- Returns:
- the privateIpAllocationMethod value.
-
withPrivateIpAllocationMethod
public IpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
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.
-
-