@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 |
|---|---|
List<String> |
alpnPolicy()
[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
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) |
boolean |
hasAlpnPolicy()
Returns true if the AlpnPolicy property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasCertificates()
Returns true if the Certificates property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasDefaultActions()
Returns true if the DefaultActions property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
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 protocols and ciphers 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 boolean hasCertificates()
public 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.
You can use hasCertificates() to see if a value was sent in this field.
public String sslPolicy()
[HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.
public boolean hasDefaultActions()
public List<Action> defaultActions()
The default actions for the listener.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDefaultActions() to see if a value was sent in this field.
public boolean hasAlpnPolicy()
public List<String> alpnPolicy()
[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAlpnPolicy() to see if a value was sent in this field.
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 © 2020. All rights reserved.