Class ListenerTls
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.ListenerTls
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListenerTls.Builder,ListenerTls>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListenerTls.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListenerTls.Builderbuilder()ListenerTlsCertificatecertificate()A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ListenerTlsModemode()Specify one of the following modes.StringmodeAsString()Specify one of the following modes.List<SdkField<?>>sdkFields()static Class<? extends ListenerTls.Builder>serializableBuilderClass()ListenerTls.BuildertoBuilder()StringtoString()Returns a string representation of this object.ListenerTlsValidationContextvalidation()A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
certificate
public final ListenerTlsCertificate certificate()
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
- Returns:
- A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
-
mode
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,
modewill returnListenerTlsMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- 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.
-
- See Also:
ListenerTlsMode
-
-
modeAsString
public 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,
modewill returnListenerTlsMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- 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.
-
- See Also:
ListenerTlsMode
-
-
validation
public final ListenerTlsValidationContext validation()
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
- Returns:
- A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
-
toBuilder
public ListenerTls.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListenerTls.Builder,ListenerTls>
-
builder
public static ListenerTls.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListenerTls.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-