VpnNatRuleMapping Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VpnNatRuleMapping
- com.
Implements
public final class VpnNatRuleMapping
implements JsonSerializable<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 |
static
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
String |
portRange()
Get the port |
Json |
toJson(JsonWriter jsonWriter) |
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:
fromJson
public static VpnNatRuleMapping fromJson(JsonReader jsonReader)
Reads an instance of VpnNatRuleMapping from the JsonReader.
Parameters:
Returns:
Throws:
portRange
public String portRange()
Get the portRange property: Port range for Vpn NatRule mapping.
Returns:
toJson
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