Interface HasBackendPort.DefinitionStages.WithBackendPort<ReturnT>

Type Parameters:
ReturnT - the next stage of the definition
All Known Subinterfaces:
LoadBalancerInboundNatPool.Definition<ParentT>, LoadBalancerInboundNatPool.DefinitionStages.WithBackendPort<ParentT>, LoadBalancerInboundNatRule.Definition<ParentT>, LoadBalancerInboundNatRule.DefinitionStages.WithAttach<ParentT>, LoadBalancerInboundNatRule.DefinitionStages.WithBackendPort<ParentT>, LoadBalancingRule.Definition<ReturnT>, LoadBalancingRule.DefinitionStages.WithBackendPort<ReturnT>
Enclosing interface:
HasBackendPort.DefinitionStages

public static interface HasBackendPort.DefinitionStages.WithBackendPort<ReturnT>
The stage of a definition allowing to specify the backend port.
  • Method Summary

    Modifier and Type
    Method
    Description
    toBackendPort(int port)
    Specifies a backend port to send network traffic to.
  • Method Details

    • toBackendPort

      ReturnT toBackendPort(int port)
      Specifies a backend port to send network traffic to.

      If not specified, the same backend port number is assumed as that used by the frontend.

      Parameters:
      port - a port number
      Returns:
      the next stage of the definition