public final class GatewayLoadBalancerTunnelInterface extends Object
| Constructor and Description |
|---|
GatewayLoadBalancerTunnelInterface() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
identifier()
Get the identifier property: Identifier of gateway load balancer tunnel interface.
|
Integer |
port()
Get the port property: Port of gateway load balancer tunnel interface.
|
GatewayLoadBalancerTunnelProtocol |
protocol()
Get the protocol property: Protocol of gateway load balancer tunnel interface.
|
GatewayLoadBalancerTunnelInterfaceType |
type()
Get the type property: Traffic type of gateway load balancer tunnel interface.
|
void |
validate()
Validates the instance.
|
GatewayLoadBalancerTunnelInterface |
withIdentifier(Integer identifier)
Set the identifier property: Identifier of gateway load balancer tunnel interface.
|
GatewayLoadBalancerTunnelInterface |
withPort(Integer port)
Set the port property: Port of gateway load balancer tunnel interface.
|
GatewayLoadBalancerTunnelInterface |
withProtocol(GatewayLoadBalancerTunnelProtocol protocol)
Set the protocol property: Protocol of gateway load balancer tunnel interface.
|
GatewayLoadBalancerTunnelInterface |
withType(GatewayLoadBalancerTunnelInterfaceType type)
Set the type property: Traffic type of gateway load balancer tunnel interface.
|
public Integer port()
public GatewayLoadBalancerTunnelInterface withPort(Integer port)
port - the port value to set.public Integer identifier()
public GatewayLoadBalancerTunnelInterface withIdentifier(Integer identifier)
identifier - the identifier value to set.public GatewayLoadBalancerTunnelProtocol protocol()
public GatewayLoadBalancerTunnelInterface withProtocol(GatewayLoadBalancerTunnelProtocol protocol)
protocol - the protocol value to set.public GatewayLoadBalancerTunnelInterfaceType type()
public GatewayLoadBalancerTunnelInterface withType(GatewayLoadBalancerTunnelInterfaceType type)
type - the type value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.