@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TlsConfig extends Object implements Serializable, Cloneable, StructuredPojo
The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
Constructor and Description |
---|
TlsConfig() |
Modifier and Type | Method and Description |
---|---|
TlsConfig |
clone() |
boolean |
equals(Object obj) |
String |
getServerNameToVerify()
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setServerNameToVerify(String serverNameToVerify)
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate.
|
String |
toString()
Returns a string representation of this object.
|
TlsConfig |
withServerNameToVerify(String serverNameToVerify)
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate.
|
public void setServerNameToVerify(String serverNameToVerify)
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
serverNameToVerify
- If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate.
The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual
hosting.public String getServerNameToVerify()
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
public TlsConfig withServerNameToVerify(String serverNameToVerify)
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
serverNameToVerify
- If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate.
The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual
hosting.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.