Class CfnIntegration.TlsConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnIntegration.TlsConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIntegration.TlsConfigProperty>
- Enclosing interface:
CfnIntegration.TlsConfigProperty
@Stability(Stable)
public static final class CfnIntegration.TlsConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIntegration.TlsConfigProperty>
A builder for
CfnIntegration.TlsConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.serverNameToVerify
(String serverNameToVerify) Sets the value ofCfnIntegration.TlsConfigProperty.getServerNameToVerify()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serverNameToVerify
@Stability(Stable) public CfnIntegration.TlsConfigProperty.Builder serverNameToVerify(String serverNameToVerify) Sets the value ofCfnIntegration.TlsConfigProperty.getServerNameToVerify()
- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIntegration.TlsConfigProperty>
- Returns:
- a new instance of
CfnIntegration.TlsConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-