Partilhar via


LoadBalancerOutboundRuleProtocol Class

public final class LoadBalancerOutboundRuleProtocol
extends ExpandableStringEnum<LoadBalancerOutboundRuleProtocol>

The protocol for the outbound rule in load balancer.

Field Summary

Modifier and Type Field and Description
static final LoadBalancerOutboundRuleProtocol ALL

Static value All for LoadBalancerOutboundRuleProtocol.

static final LoadBalancerOutboundRuleProtocol TCP

Static value Tcp for LoadBalancerOutboundRuleProtocol.

static final LoadBalancerOutboundRuleProtocol UDP

Static value Udp for LoadBalancerOutboundRuleProtocol.

Constructor Summary

Constructor Description
LoadBalancerOutboundRuleProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LoadBalancerOutboundRuleProtocol value.

Method Summary

Modifier and Type Method and Description
static LoadBalancerOutboundRuleProtocol fromString(String name)

Creates or finds a LoadBalancerOutboundRuleProtocol from its string representation.

static Collection<LoadBalancerOutboundRuleProtocol> values()

Gets known LoadBalancerOutboundRuleProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL

public static final LoadBalancerOutboundRuleProtocol ALL

Static value All for LoadBalancerOutboundRuleProtocol.

TCP

public static final LoadBalancerOutboundRuleProtocol TCP

Static value Tcp for LoadBalancerOutboundRuleProtocol.

UDP

public static final LoadBalancerOutboundRuleProtocol UDP

Static value Udp for LoadBalancerOutboundRuleProtocol.

Constructor Details

LoadBalancerOutboundRuleProtocol

@Deprecated
public LoadBalancerOutboundRuleProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LoadBalancerOutboundRuleProtocol value.

Method Details

fromString

public static LoadBalancerOutboundRuleProtocol fromString(String name)

Creates or finds a LoadBalancerOutboundRuleProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LoadBalancerOutboundRuleProtocol.

values

public static Collection values()

Gets known LoadBalancerOutboundRuleProtocol values.

Returns:

known LoadBalancerOutboundRuleProtocol values.

Applies to