Enum LoadBalancerListenerProtocol
- java.lang.Object
-
- java.lang.Enum<LoadBalancerListenerProtocol>
-
- software.amazon.awscdk.cloudassembly.schema.LoadBalancerListenerProtocol
-
- All Implemented Interfaces:
Serializable,Comparable<LoadBalancerListenerProtocol>
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-06T20:25:05.793Z") @Stability(Stable) public enum LoadBalancerListenerProtocol extends Enum<LoadBalancerListenerProtocol>
The protocol for connections from clients to the load balancer.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LoadBalancerListenerProtocolvalueOf(String name)Returns the enum constant of this type with the specified name.static LoadBalancerListenerProtocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP
@Stability(Stable) public static final LoadBalancerListenerProtocol HTTP
HTTP protocol.
-
HTTPS
@Stability(Stable) public static final LoadBalancerListenerProtocol HTTPS
HTTPS protocol.
-
TCP
@Stability(Stable) public static final LoadBalancerListenerProtocol TCP
TCP protocol.
-
TLS
@Stability(Stable) public static final LoadBalancerListenerProtocol TLS
TLS protocol.
-
UDP
@Stability(Stable) public static final LoadBalancerListenerProtocol UDP
UDP protocol.
-
TCP_UDP
@Stability(Stable) public static final LoadBalancerListenerProtocol TCP_UDP
TCP and UDP protocol.
-
-
Method Detail
-
values
public static LoadBalancerListenerProtocol[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LoadBalancerListenerProtocol c : LoadBalancerListenerProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoadBalancerListenerProtocol valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-