VpnNatRuleMapping Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VpnNatRuleMapping
- com.
public final class VpnNatRuleMapping
Vpn NatRule mapping.
Constructor Summary
Constructor | Description |
---|---|
VpnNatRuleMapping() |
Creates an instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
addressSpace()
Get the address |
String |
portRange()
Get the port |
void |
validate()
Validates the instance. |
Vpn |
withAddressSpace(String addressSpace)
Set the address |
Vpn |
withPortRange(String portRange)
Set the port |
Methods inherited from java.lang.Object
Constructor Details
VpnNatRuleMapping
public VpnNatRuleMapping()
Creates an instance of VpnNatRuleMapping class.
Method Details
addressSpace
public String addressSpace()
Get the addressSpace property: Address space for Vpn NatRule mapping.
Returns:
portRange
public String portRange()
Get the portRange property: Port range for Vpn NatRule mapping.
Returns:
validate
public void validate()
Validates the instance.
withAddressSpace
public VpnNatRuleMapping withAddressSpace(String addressSpace)
Set the addressSpace property: Address space for Vpn NatRule mapping.
Parameters:
Returns:
withPortRange
public VpnNatRuleMapping withPortRange(String portRange)
Set the portRange property: Port range for Vpn NatRule mapping.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for