IpConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. dnsresolver. models. IpConfiguration
- com.
Implements
public final class IpConfiguration
implements JsonSerializable<IpConfiguration>
IP configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| IpConfiguration() |
Creates an instance of Ip |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Ip |
fromJson(JsonReader jsonReader)
Reads an instance of Ip |
| String |
privateIpAddress()
Get the private |
|
Ip |
privateIpAllocationMethod()
Get the private |
|
Sub |
subnet()
Get the subnet property: The reference to the subnet bound to the IP configuration. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Ip |
withPrivateIpAddress(String privateIpAddress)
Set the private |
|
Ip |
withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the private |
|
Ip |
withSubnet(SubResource subnet)
Set the subnet property: The reference to the subnet bound to the IP configuration. |
Methods inherited from java.lang.Object
Constructor Details
IpConfiguration
public IpConfiguration()
Creates an instance of IpConfiguration class.
Method Details
fromJson
public static IpConfiguration fromJson(JsonReader jsonReader)
Reads an instance of IpConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: Private IP address of the IP configuration.
Returns:
privateIpAllocationMethod
public IpAllocationMethod privateIpAllocationMethod()
Get the privateIpAllocationMethod property: Private IP address allocation method.
Returns:
subnet
public SubResource subnet()
Get the subnet property: The reference to the subnet bound to the IP configuration.
Returns:
toJson
withPrivateIpAddress
public IpConfiguration withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: Private IP address of the IP configuration.
Parameters:
Returns:
withPrivateIpAllocationMethod
public IpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: Private IP address allocation method.
Parameters:
Returns:
withSubnet
public IpConfiguration withSubnet(SubResource subnet)
Set the subnet property: The reference to the subnet bound to the IP configuration.
Parameters:
Returns: