@Generated(value="software.amazon.awssdk:codegen") public final class Listener extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Listener.Builder,Listener>
Information about a listener.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Listener.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Listener.Builder |
builder() |
List<Certificate> |
certificates()
[HTTPS or TLS listener] The default certificate for the listener.
|
List<Action> |
defaultActions()
The default actions for the listener.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
listenerArn()
The Amazon Resource Name (ARN) of the listener.
|
String |
loadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
|
Integer |
port()
The port on which the load balancer is listening.
|
ProtocolEnum |
protocol()
The protocol for connections from clients to the load balancer.
|
String |
protocolAsString()
The protocol for connections from clients to the load balancer.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Listener.Builder> |
serializableBuilderClass() |
String |
sslPolicy()
[HTTPS or TLS listener] The security policy that defines which ciphers and protocols are supported.
|
Listener.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String listenerArn()
The Amazon Resource Name (ARN) of the listener.
public String loadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
public Integer port()
The port on which the load balancer is listening.
public ProtocolEnum protocol()
The protocol for connections from clients to the load balancer.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ProtocolEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
ProtocolEnumpublic String protocolAsString()
The protocol for connections from clients to the load balancer.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ProtocolEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
ProtocolEnumpublic List<Certificate> certificates()
[HTTPS or TLS listener] The default certificate for the listener.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String sslPolicy()
[HTTPS or TLS listener] The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
public List<Action> defaultActions()
The default actions for the listener.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Listener.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Listener.Builder,Listener>public static Listener.Builder builder()
public static Class<? extends Listener.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.