Class GatewayLoadBalancerTunnelInterface
- java.lang.Object
-
- com.azure.resourcemanager.network.models.GatewayLoadBalancerTunnelInterface
-
public final class GatewayLoadBalancerTunnelInterface extends Object
Gateway load balancer tunnel interface of a load balancer backend address pool.
-
-
Constructor Summary
Constructors Constructor Description GatewayLoadBalancerTunnelInterface()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integeridentifier()Get the identifier property: Identifier of gateway load balancer tunnel interface.Integerport()Get the port property: Port of gateway load balancer tunnel interface.GatewayLoadBalancerTunnelProtocolprotocol()Get the protocol property: Protocol of gateway load balancer tunnel interface.GatewayLoadBalancerTunnelInterfaceTypetype()Get the type property: Traffic type of gateway load balancer tunnel interface.voidvalidate()Validates the instance.GatewayLoadBalancerTunnelInterfacewithIdentifier(Integer identifier)Set the identifier property: Identifier of gateway load balancer tunnel interface.GatewayLoadBalancerTunnelInterfacewithPort(Integer port)Set the port property: Port of gateway load balancer tunnel interface.GatewayLoadBalancerTunnelInterfacewithProtocol(GatewayLoadBalancerTunnelProtocol protocol)Set the protocol property: Protocol of gateway load balancer tunnel interface.GatewayLoadBalancerTunnelInterfacewithType(GatewayLoadBalancerTunnelInterfaceType type)Set the type property: Traffic type of gateway load balancer tunnel interface.
-
-
-
Method Detail
-
port
public Integer port()
Get the port property: Port of gateway load balancer tunnel interface.- Returns:
- the port value.
-
withPort
public GatewayLoadBalancerTunnelInterface withPort(Integer port)
Set the port property: Port of gateway load balancer tunnel interface.- Parameters:
port- the port value to set.- Returns:
- the GatewayLoadBalancerTunnelInterface object itself.
-
identifier
public Integer identifier()
Get the identifier property: Identifier of gateway load balancer tunnel interface.- Returns:
- the identifier value.
-
withIdentifier
public GatewayLoadBalancerTunnelInterface withIdentifier(Integer identifier)
Set the identifier property: Identifier of gateway load balancer tunnel interface.- Parameters:
identifier- the identifier value to set.- Returns:
- the GatewayLoadBalancerTunnelInterface object itself.
-
protocol
public GatewayLoadBalancerTunnelProtocol protocol()
Get the protocol property: Protocol of gateway load balancer tunnel interface.- Returns:
- the protocol value.
-
withProtocol
public GatewayLoadBalancerTunnelInterface withProtocol(GatewayLoadBalancerTunnelProtocol protocol)
Set the protocol property: Protocol of gateway load balancer tunnel interface.- Parameters:
protocol- the protocol value to set.- Returns:
- the GatewayLoadBalancerTunnelInterface object itself.
-
type
public GatewayLoadBalancerTunnelInterfaceType type()
Get the type property: Traffic type of gateway load balancer tunnel interface.- Returns:
- the type value.
-
withType
public GatewayLoadBalancerTunnelInterface withType(GatewayLoadBalancerTunnelInterfaceType type)
Set the type property: Traffic type of gateway load balancer tunnel interface.- Parameters:
type- the type value to set.- Returns:
- the GatewayLoadBalancerTunnelInterface object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-