VpnGatewayIpConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VpnGatewayIpConfiguration
- com.
Implements
public final class VpnGatewayIpConfiguration
implements JsonSerializable<VpnGatewayIpConfiguration>
IP Configuration of a VPN Gateway Resource.
Constructor Summary
Constructor | Description |
---|---|
VpnGatewayIpConfiguration() |
Creates an instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
String |
id()
Get the id property: The identifier of the IP configuration for a VPN Gateway. |
String |
privateIpAddress()
Get the private |
String |
publicIpAddress()
Get the public |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vpn |
withId(String id)
Set the id property: The identifier of the IP configuration for a VPN Gateway. |
Vpn |
withPrivateIpAddress(String privateIpAddress)
Set the private |
Vpn |
withPublicIpAddress(String publicIpAddress)
Set the public |
Methods inherited from java.lang.Object
Constructor Details
VpnGatewayIpConfiguration
public VpnGatewayIpConfiguration()
Creates an instance of VpnGatewayIpConfiguration class.
Method Details
fromJson
public static VpnGatewayIpConfiguration fromJson(JsonReader jsonReader)
Reads an instance of VpnGatewayIpConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The identifier of the IP configuration for a VPN Gateway.
Returns:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The private IP address of this IP configuration.
Returns:
publicIpAddress
public String publicIpAddress()
Get the publicIpAddress property: The public IP address of this IP configuration.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public VpnGatewayIpConfiguration withId(String id)
Set the id property: The identifier of the IP configuration for a VPN Gateway.
Parameters:
Returns:
withPrivateIpAddress
public VpnGatewayIpConfiguration withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IP address of this IP configuration.
Parameters:
Returns:
withPublicIpAddress
public VpnGatewayIpConfiguration withPublicIpAddress(String publicIpAddress)
Set the publicIpAddress property: The public IP address of this IP configuration.
Parameters:
Returns:
Applies to
Azure SDK for Java