Class VpnNatRuleMapping
java.lang.Object
com.azure.resourcemanager.network.models.VpnNatRuleMapping
Vpn NatRule mapping.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the addressSpace property: Address space for Vpn NatRule mapping.Get the portRange property: Port range for Vpn NatRule mapping.voidvalidate()Validates the instance.withAddressSpace(String addressSpace) Set the addressSpace property: Address space for Vpn NatRule mapping.withPortRange(String portRange) Set the portRange property: Port range for Vpn NatRule mapping.
-
Constructor Details
-
VpnNatRuleMapping
public VpnNatRuleMapping()Creates an instance of VpnNatRuleMapping class.
-
-
Method Details
-
addressSpace
Get the addressSpace property: Address space for Vpn NatRule mapping.- Returns:
- the addressSpace value.
-
withAddressSpace
Set the addressSpace property: Address space for Vpn NatRule mapping.- Parameters:
addressSpace- the addressSpace value to set.- Returns:
- the VpnNatRuleMapping object itself.
-
portRange
Get the portRange property: Port range for Vpn NatRule mapping.- Returns:
- the portRange value.
-
withPortRange
Set the portRange property: Port range for Vpn NatRule mapping.- Parameters:
portRange- the portRange value to set.- Returns:
- the VpnNatRuleMapping object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-