Class InboundNatRulePortMapping
- java.lang.Object
-
- com.azure.resourcemanager.network.models.InboundNatRulePortMapping
-
public final class InboundNatRulePortMapping extends Object
Individual port mappings for inbound NAT rule created for backend pool.
-
-
Constructor Summary
Constructors Constructor Description InboundNatRulePortMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerbackendPort()Get the backendPort property: Backend port.IntegerfrontendPort()Get the frontendPort property: Frontend port.StringinboundNatRuleName()Get the inboundNatRuleName property: Name of inbound NAT rule.TransportProtocolprotocol()Get the protocol property: The reference to the transport protocol used by the inbound NAT rule.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
inboundNatRuleName
public String inboundNatRuleName()
Get the inboundNatRuleName property: Name of inbound NAT rule.- Returns:
- the inboundNatRuleName value.
-
protocol
public TransportProtocol protocol()
Get the protocol property: The reference to the transport protocol used by the inbound NAT rule.- Returns:
- the protocol value.
-
frontendPort
public Integer frontendPort()
Get the frontendPort property: Frontend port.- Returns:
- the frontendPort value.
-
backendPort
public Integer backendPort()
Get the backendPort property: Backend port.- Returns:
- the backendPort value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-