@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListenerTls extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the Transport Layer Security (TLS) properties for a listener.
| Constructor and Description |
|---|
ListenerTls() |
| Modifier and Type | Method and Description |
|---|---|
ListenerTls |
clone() |
boolean |
equals(Object obj) |
ListenerTlsCertificate |
getCertificate()
A reference to an object that represents a listener's TLS certificate.
|
String |
getMode()
Specify one of the following modes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCertificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's TLS certificate.
|
void |
setMode(String mode)
Specify one of the following modes.
|
String |
toString()
Returns a string representation of this object.
|
ListenerTls |
withCertificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's TLS certificate.
|
ListenerTls |
withMode(ListenerTlsMode mode)
Specify one of the following modes.
|
ListenerTls |
withMode(String mode)
Specify one of the following modes.
|
public void setCertificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's TLS certificate.
certificate - A reference to an object that represents a listener's TLS certificate.public ListenerTlsCertificate getCertificate()
A reference to an object that represents a listener's TLS certificate.
public ListenerTls withCertificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's TLS certificate.
certificate - A reference to an object that represents a listener's TLS certificate.public void setMode(String 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.
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.
ListenerTlsModepublic String getMode()
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.
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 ListenerTls withMode(String 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.
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.
ListenerTlsModepublic ListenerTls withMode(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.
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.
ListenerTlsModepublic String toString()
toString in class ObjectObject.toString()public ListenerTls clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.