GatewayLoadBalancerTunnelInterface Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. GatewayLoadBalancerTunnelInterface
- com.
Implements
public final class GatewayLoadBalancerTunnelInterface
implements JsonSerializable<GatewayLoadBalancerTunnelInterface>
Gateway load balancer tunnel interface of a load balancer backend address pool.
Constructor Summary
Constructor | Description |
---|---|
GatewayLoadBalancerTunnelInterface() |
Creates an instance of Gateway |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gateway |
fromJson(JsonReader jsonReader)
Reads an instance of Gateway |
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. |
Gateway |
protocol()
Get the protocol property: Protocol of gateway load balancer tunnel interface. |
Json |
toJson(JsonWriter jsonWriter) |
Gateway |
type()
Get the type property: Traffic type of gateway load balancer tunnel interface. |
void |
validate()
Validates the instance. |
Gateway |
withIdentifier(Integer identifier)
Set the identifier property: Identifier of gateway load balancer tunnel interface. |
Gateway |
withPort(Integer port)
Set the port property: Port of gateway load balancer tunnel interface. |
Gateway |
withProtocol(GatewayLoadBalancerTunnelProtocol protocol)
Set the protocol property: Protocol of gateway load balancer tunnel interface. |
Gateway |
withType(GatewayLoadBalancerTunnelInterfaceType type)
Set the type property: Traffic type of gateway load balancer tunnel interface. |
Methods inherited from java.lang.Object
Constructor Details
GatewayLoadBalancerTunnelInterface
public GatewayLoadBalancerTunnelInterface()
Creates an instance of GatewayLoadBalancerTunnelInterface class.
Method Details
fromJson
public static GatewayLoadBalancerTunnelInterface fromJson(JsonReader jsonReader)
Reads an instance of GatewayLoadBalancerTunnelInterface from the JsonReader.
Parameters:
Returns:
Throws:
identifier
public Integer identifier()
Get the identifier property: Identifier of gateway load balancer tunnel interface.
Returns:
port
public Integer port()
Get the port property: Port of gateway load balancer tunnel interface.
Returns:
protocol
public GatewayLoadBalancerTunnelProtocol protocol()
Get the protocol property: Protocol of gateway load balancer tunnel interface.
Returns:
toJson
type
public GatewayLoadBalancerTunnelInterfaceType type()
Get the type property: Traffic type of gateway load balancer tunnel interface.
Returns:
validate
public void validate()
Validates the instance.
withIdentifier
public GatewayLoadBalancerTunnelInterface withIdentifier(Integer identifier)
Set the identifier property: Identifier of gateway load balancer tunnel interface.
Parameters:
Returns:
withPort
public GatewayLoadBalancerTunnelInterface withPort(Integer port)
Set the port property: Port of gateway load balancer tunnel interface.
Parameters:
Returns:
withProtocol
public GatewayLoadBalancerTunnelInterface withProtocol(GatewayLoadBalancerTunnelProtocol protocol)
Set the protocol property: Protocol of gateway load balancer tunnel interface.
Parameters:
Returns:
withType
public GatewayLoadBalancerTunnelInterface withType(GatewayLoadBalancerTunnelInterfaceType type)
Set the type property: Traffic type of gateway load balancer tunnel interface.
Parameters:
Returns:
Applies to
Azure SDK for Java