@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.
|
VirtualGatewayListenerTlsValidationContext |
getValidation()
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation
context.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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.
|
void |
setValidation(VirtualGatewayListenerTlsValidationContext validation)
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation
context.
|
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.
|
VirtualGatewayListenerTls |
withValidation(VirtualGatewayListenerTlsValidationContext validation)
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation
context.
|
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.
VirtualGatewayListenerTlsMode
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.
VirtualGatewayListenerTlsMode
public 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.
VirtualGatewayListenerTlsMode
public 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.
VirtualGatewayListenerTlsMode
public void setValidation(VirtualGatewayListenerTlsValidationContext validation)
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.
validation
- A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS)
validation context.public VirtualGatewayListenerTlsValidationContext getValidation()
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.
public VirtualGatewayListenerTls withValidation(VirtualGatewayListenerTlsValidationContext validation)
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.
validation
- A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS)
validation context.public String toString()
toString
in class Object
Object.toString()
public VirtualGatewayListenerTls clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.