All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.apigatewayv2.inputs.IntegrationTlsConfigArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.apigatewayv2.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class IntegrationTlsConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final IntegrationTlsConfigArgs Empty = new IntegrationTlsConfigArgs();

    /**
     * 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.
     * 
     */
    @Import(name="serverNameToVerify")
    private @Nullable Output serverNameToVerify;

    /**
     * @return 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 Optional> serverNameToVerify() {
        return Optional.ofNullable(this.serverNameToVerify);
    }

    private IntegrationTlsConfigArgs() {}

    private IntegrationTlsConfigArgs(IntegrationTlsConfigArgs $) {
        this.serverNameToVerify = $.serverNameToVerify;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(IntegrationTlsConfigArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private IntegrationTlsConfigArgs $;

        public Builder() {
            $ = new IntegrationTlsConfigArgs();
        }

        public Builder(IntegrationTlsConfigArgs defaults) {
            $ = new IntegrationTlsConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder serverNameToVerify(@Nullable Output serverNameToVerify) {
            $.serverNameToVerify = serverNameToVerify;
            return this;
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder serverNameToVerify(String serverNameToVerify) {
            return serverNameToVerify(Output.of(serverNameToVerify));
        }

        public IntegrationTlsConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy