Class VirtualGatewayListenerTls
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.VirtualGatewayListenerTls
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VirtualGatewayListenerTls.Builder,VirtualGatewayListenerTls>
@Generated("software.amazon.awssdk:codegen") public final class VirtualGatewayListenerTls extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VirtualGatewayListenerTls.Builder,VirtualGatewayListenerTls>
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 interfaceVirtualGatewayListenerTls.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VirtualGatewayListenerTls.Builderbuilder()VirtualGatewayListenerTlsCertificatecertificate()An object that represents a Transport Layer Security (TLS) certificate.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()VirtualGatewayListenerTlsModemode()Specify one of the following modes.StringmodeAsString()Specify one of the following modes.List<SdkField<?>>sdkFields()static Class<? extends VirtualGatewayListenerTls.Builder>serializableBuilderClass()VirtualGatewayListenerTls.BuildertoBuilder()StringtoString()Returns a string representation of this object.VirtualGatewayListenerTlsValidationContextvalidation()A reference to an object that represents a virtual gateway's 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 VirtualGatewayListenerTlsCertificate certificate()
An object that represents a Transport Layer Security (TLS) certificate.
- Returns:
- An object that represents a Transport Layer Security (TLS) certificate.
-
mode
public final VirtualGatewayListenerTlsMode 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 returnVirtualGatewayListenerTlsMode.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:
VirtualGatewayListenerTlsMode
-
-
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 returnVirtualGatewayListenerTlsMode.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:
VirtualGatewayListenerTlsMode
-
-
validation
public final VirtualGatewayListenerTlsValidationContext validation()
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.
- Returns:
- A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.
-
toBuilder
public VirtualGatewayListenerTls.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VirtualGatewayListenerTls.Builder,VirtualGatewayListenerTls>
-
builder
public static VirtualGatewayListenerTls.Builder builder()
-
serializableBuilderClass
public static Class<? extends VirtualGatewayListenerTls.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.
-
-