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