VpnNatRuleMapping Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VpnNatRuleMapping

public final class VpnNatRuleMapping

Vpn NatRule mapping.

Constructor Summary

Constructor Description
VpnNatRuleMapping()

Creates an instance of VpnNatRuleMapping class.

Method Summary

Modifier and Type Method and Description
String addressSpace()

Get the addressSpace property: Address space for Vpn NatRule mapping.

String portRange()

Get the portRange property: Port range for Vpn NatRule mapping.

void validate()

Validates the instance.

VpnNatRuleMapping withAddressSpace(String addressSpace)

Set the addressSpace property: Address space for Vpn NatRule mapping.

VpnNatRuleMapping withPortRange(String portRange)

Set the portRange property: Port range for Vpn NatRule mapping.

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:

the addressSpace value.

portRange

public String portRange()

Get the portRange property: Port range for Vpn NatRule mapping.

Returns:

the portRange value.

validate

public void validate()

Validates the instance.

withAddressSpace

public VpnNatRuleMapping withAddressSpace(String addressSpace)

Set the addressSpace property: Address space for Vpn NatRule mapping.

Parameters:

addressSpace - the addressSpace value to set.

Returns:

the VpnNatRuleMapping object itself.

withPortRange

public VpnNatRuleMapping withPortRange(String portRange)

Set the portRange property: Port range for Vpn NatRule mapping.

Parameters:

portRange - the portRange value to set.

Returns:

the VpnNatRuleMapping object itself.

Applies to