RouteTargetAddressPropertiesFormatInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. RouteTargetAddressPropertiesFormatInner
- com.
Implements
public final class RouteTargetAddressPropertiesFormatInner
implements JsonSerializable<RouteTargetAddressPropertiesFormatInner>
Properties of route target address.
Constructor Summary
| Constructor | Description |
|---|---|
| RouteTargetAddressPropertiesFormatInner() |
Creates an instance of Route |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Route |
fromJson(JsonReader jsonReader)
Reads an instance of Route |
| String |
privateIpAddress()
Get the private |
|
Ip |
privateIpAllocationMethod()
Get the private |
|
Subnet |
subnet()
Get the subnet property: The reference to the subnet resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Route |
withPrivateIpAddress(String privateIpAddress)
Set the private |
|
Route |
withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the private |
|
Route |
withSubnet(SubnetInner subnet)
Set the subnet property: The reference to the subnet resource. |
Methods inherited from java.lang.Object
Constructor Details
RouteTargetAddressPropertiesFormatInner
public RouteTargetAddressPropertiesFormatInner()
Creates an instance of RouteTargetAddressPropertiesFormatInner class.
Method Details
fromJson
public static RouteTargetAddressPropertiesFormatInner fromJson(JsonReader jsonReader)
Reads an instance of RouteTargetAddressPropertiesFormatInner from the JsonReader.
Parameters:
Returns:
Throws:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The private IPv4 or IPv6 address of the service gateway route target address.
Returns:
privateIpAllocationMethod
public IpAllocationMethod privateIpAllocationMethod()
Get the privateIpAllocationMethod property: The Private IP allocation method.
Returns:
subnet
public SubnetInner subnet()
Get the subnet property: The reference to the subnet resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPrivateIpAddress
public RouteTargetAddressPropertiesFormatInner withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IPv4 or IPv6 address of the service gateway route target address.
Parameters:
Returns:
withPrivateIpAllocationMethod
public RouteTargetAddressPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: The Private IP allocation method.
Parameters:
Returns:
withSubnet
public RouteTargetAddressPropertiesFormatInner withSubnet(SubnetInner subnet)
Set the subnet property: The reference to the subnet resource.
Parameters:
Returns: