public final class VpnGatewayIpConfiguration extends Object
| Constructor and Description |
|---|
VpnGatewayIpConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: The identifier of the IP configuration for a VPN Gateway.
|
String |
privateIpAddress()
Get the privateIpAddress property: The private IP address of this IP configuration.
|
String |
publicIpAddress()
Get the publicIpAddress property: The public IP address of this IP configuration.
|
void |
validate()
Validates the instance.
|
VpnGatewayIpConfiguration |
withId(String id)
Set the id property: The identifier of the IP configuration for a VPN Gateway.
|
VpnGatewayIpConfiguration |
withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IP address of this IP configuration.
|
VpnGatewayIpConfiguration |
withPublicIpAddress(String publicIpAddress)
Set the publicIpAddress property: The public IP address of this IP configuration.
|
public String id()
public VpnGatewayIpConfiguration withId(String id)
id - the id value to set.public String publicIpAddress()
public VpnGatewayIpConfiguration withPublicIpAddress(String publicIpAddress)
publicIpAddress - the publicIpAddress value to set.public String privateIpAddress()
public VpnGatewayIpConfiguration withPrivateIpAddress(String privateIpAddress)
privateIpAddress - the privateIpAddress value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.