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

com.pulumi.aws.kendra.outputs.DataSourceConfigurationWebCrawlerConfigurationProxyConfiguration Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.kendra.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DataSourceConfigurationWebCrawlerConfigurationProxyConfiguration {
    /**
     * @return Your secret ARN, which you can create in AWS Secrets Manager. The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.
     * 
     */
    private @Nullable String credentials;
    /**
     * @return The name of the website host you want to connect to via a web proxy server. For example, the host name of `https://a.example.com/page1.html` is `"a.example.com"`.
     * 
     */
    private String host;
    /**
     * @return The port number of the website host you want to connect to via a web proxy server. For example, the port for `https://a.example.com/page1.html` is `443`, the standard port for HTTPS.
     * 
     */
    private Integer port;

    private DataSourceConfigurationWebCrawlerConfigurationProxyConfiguration() {}
    /**
     * @return Your secret ARN, which you can create in AWS Secrets Manager. The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.
     * 
     */
    public Optional credentials() {
        return Optional.ofNullable(this.credentials);
    }
    /**
     * @return The name of the website host you want to connect to via a web proxy server. For example, the host name of `https://a.example.com/page1.html` is `"a.example.com"`.
     * 
     */
    public String host() {
        return this.host;
    }
    /**
     * @return The port number of the website host you want to connect to via a web proxy server. For example, the port for `https://a.example.com/page1.html` is `443`, the standard port for HTTPS.
     * 
     */
    public Integer port() {
        return this.port;
    }

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

    public static Builder builder(DataSourceConfigurationWebCrawlerConfigurationProxyConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String credentials;
        private String host;
        private Integer port;
        public Builder() {}
        public Builder(DataSourceConfigurationWebCrawlerConfigurationProxyConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.credentials = defaults.credentials;
    	      this.host = defaults.host;
    	      this.port = defaults.port;
        }

        @CustomType.Setter
        public Builder credentials(@Nullable String credentials) {

            this.credentials = credentials;
            return this;
        }
        @CustomType.Setter
        public Builder host(String host) {
            if (host == null) {
              throw new MissingRequiredPropertyException("DataSourceConfigurationWebCrawlerConfigurationProxyConfiguration", "host");
            }
            this.host = host;
            return this;
        }
        @CustomType.Setter
        public Builder port(Integer port) {
            if (port == null) {
              throw new MissingRequiredPropertyException("DataSourceConfigurationWebCrawlerConfigurationProxyConfiguration", "port");
            }
            this.port = port;
            return this;
        }
        public DataSourceConfigurationWebCrawlerConfigurationProxyConfiguration build() {
            final var _resultValue = new DataSourceConfigurationWebCrawlerConfigurationProxyConfiguration();
            _resultValue.credentials = credentials;
            _resultValue.host = host;
            _resultValue.port = port;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy