@Generated(value="software.amazon.awssdk:codegen") public final class ListenerTls extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListenerTls.Builder,ListenerTls>
An object that represents the Transport Layer Security (TLS) properties for a listener.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListenerTls.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListenerTls.Builder |
builder() |
ListenerTlsCertificate |
certificate()
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ListenerTlsMode |
mode()
Specify one of the following modes.
|
String |
modeAsString()
Specify one of the following modes.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListenerTls.Builder> |
serializableBuilderClass() |
ListenerTls.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ListenerTlsValidationContext |
validation()
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ListenerTlsCertificate certificate()
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
public final ListenerTlsMode mode()
Specify one of the following modes.
STRICT – Listener only accepts connections with TLS enabled.
PERMISSIVE – Listener accepts connections with or without TLS enabled.
DISABLED – Listener only accepts connections without TLS.
If the service returns an enum value that is not available in the current SDK version, mode will return
ListenerTlsMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
STRICT – Listener only accepts connections with TLS enabled.
PERMISSIVE – Listener accepts connections with or without TLS enabled.
DISABLED – Listener only accepts connections without TLS.
ListenerTlsModepublic final String modeAsString()
Specify one of the following modes.
STRICT – Listener only accepts connections with TLS enabled.
PERMISSIVE – Listener accepts connections with or without TLS enabled.
DISABLED – Listener only accepts connections without TLS.
If the service returns an enum value that is not available in the current SDK version, mode will return
ListenerTlsMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modeAsString().
STRICT – Listener only accepts connections with TLS enabled.
PERMISSIVE – Listener accepts connections with or without TLS enabled.
DISABLED – Listener only accepts connections without TLS.
ListenerTlsModepublic final ListenerTlsValidationContext validation()
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
public ListenerTls.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListenerTls.Builder,ListenerTls>public static ListenerTls.Builder builder()
public static Class<? extends ListenerTls.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.