Class VpnGatewayIpConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VpnGatewayIpConfiguration
-
public final class VpnGatewayIpConfiguration extends Object
IP Configuration of a VPN Gateway Resource.
-
-
Constructor Summary
Constructors Constructor Description VpnGatewayIpConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: The identifier of the IP configuration for a VPN Gateway.StringprivateIpAddress()Get the privateIpAddress property: The private IP address of this IP configuration.StringpublicIpAddress()Get the publicIpAddress property: The public IP address of this IP configuration.voidvalidate()Validates the instance.VpnGatewayIpConfigurationwithId(String id)Set the id property: The identifier of the IP configuration for a VPN Gateway.VpnGatewayIpConfigurationwithPrivateIpAddress(String privateIpAddress)Set the privateIpAddress property: The private IP address of this IP configuration.VpnGatewayIpConfigurationwithPublicIpAddress(String publicIpAddress)Set the publicIpAddress property: The public IP address of this IP configuration.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The identifier of the IP configuration for a VPN Gateway.- Returns:
- the id value.
-
withId
public VpnGatewayIpConfiguration withId(String id)
Set the id property: The identifier of the IP configuration for a VPN Gateway.- Parameters:
id- the id value to set.- Returns:
- the VpnGatewayIpConfiguration object itself.
-
publicIpAddress
public String publicIpAddress()
Get the publicIpAddress property: The public IP address of this IP configuration.- Returns:
- the publicIpAddress value.
-
withPublicIpAddress
public VpnGatewayIpConfiguration withPublicIpAddress(String publicIpAddress)
Set the publicIpAddress property: The public IP address of this IP configuration.- Parameters:
publicIpAddress- the publicIpAddress value to set.- Returns:
- the VpnGatewayIpConfiguration object itself.
-
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The private IP address of this IP configuration.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
public VpnGatewayIpConfiguration withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IP address of this IP configuration.- Parameters:
privateIpAddress- the privateIpAddress value to set.- Returns:
- the VpnGatewayIpConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-