@Generated(value="software.amazon.awssdk:codegen") public class Listener extends Object implements 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()
The SSL server certificate.
|
List<Action> |
defaultActions()
The default actions for the listener.
|
boolean |
equals(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 |
protocolString()
The protocol for connections from clients to the load balancer.
|
static Class<? extends Listener.Builder> |
serializableBuilderClass() |
String |
sslPolicy()
The security policy that defines which ciphers and protocols are supported.
|
Listener.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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
protocolString()
.
ProtocolEnum
public String protocolString()
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
protocolString()
.
ProtocolEnum
public List<Certificate> certificates()
The SSL server certificate. You must provide a certificate if the protocol is HTTPS.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String sslPolicy()
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Listener.Builder,Listener>
public static Listener.Builder builder()
public static Class<? extends Listener.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.