@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 Transport Layer Security (TLS) certificate.
|
String |
getMode()
Specify one of the following modes.
|
ListenerTlsValidationContext |
getValidation()
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
|
void |
setMode(String mode)
Specify one of the following modes.
|
void |
setValidation(ListenerTlsValidationContext validation)
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
|
String |
toString()
Returns a string representation of this object.
|
ListenerTls |
withCertificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
|
ListenerTls |
withMode(ListenerTlsMode mode)
Specify one of the following modes.
|
ListenerTls |
withMode(String mode)
Specify one of the following modes.
|
ListenerTls |
withValidation(ListenerTlsValidationContext validation)
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
|
public void setCertificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
certificate
- A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.public ListenerTlsCertificate getCertificate()
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
public ListenerTls withCertificate(ListenerTlsCertificate certificate)
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
certificate
- A reference to an object that represents a listener's Transport Layer Security (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.
ListenerTlsMode
public 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.
ListenerTlsMode
public 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.
ListenerTlsMode
public 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.
ListenerTlsMode
public void setValidation(ListenerTlsValidationContext validation)
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
validation
- A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.public ListenerTlsValidationContext getValidation()
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
public ListenerTls withValidation(ListenerTlsValidationContext validation)
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
validation
- A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.public String toString()
toString
in class Object
Object.toString()
public ListenerTls clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.