@Stability(value=Stable) public static final class CfnDataSource.ProxyConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.ProxyConfigurationProperty>
CfnDataSource.ProxyConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDataSource.ProxyConfigurationProperty |
build()
Builds the configured instance.
|
CfnDataSource.ProxyConfigurationProperty.Builder |
credentials(String credentials)
Sets the value of
CfnDataSource.ProxyConfigurationProperty.getCredentials() |
CfnDataSource.ProxyConfigurationProperty.Builder |
host(String host)
Sets the value of
CfnDataSource.ProxyConfigurationProperty.getHost() |
CfnDataSource.ProxyConfigurationProperty.Builder |
port(Number port)
Sets the value of
CfnDataSource.ProxyConfigurationProperty.getPort() |
@Stability(value=Stable) public CfnDataSource.ProxyConfigurationProperty.Builder host(String host)
CfnDataSource.ProxyConfigurationProperty.getHost()host - The name of the website host you want to connect to via a web proxy server. This parameter is required.
For example, the host name of https://a.example.com/page1.html is "a.example.com".this@Stability(value=Stable) public CfnDataSource.ProxyConfigurationProperty.Builder port(Number port)
CfnDataSource.ProxyConfigurationProperty.getPort()port - The port number of the website host you want to connect to via a web proxy server. This parameter is required.
For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.this@Stability(value=Stable) public CfnDataSource.ProxyConfigurationProperty.Builder credentials(String credentials)
CfnDataSource.ProxyConfigurationProperty.getCredentials()credentials - Your secret ARN, which you can create in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html).
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.this@Stability(value=Stable) public CfnDataSource.ProxyConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.ProxyConfigurationProperty>CfnDataSource.ProxyConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.