public static final class CfnDataSource.ProxyConfigurationProperty.Builder
extends java.lang.Object
CfnDataSource.ProxyConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataSource.ProxyConfigurationProperty |
build()
Builds the configured instance.
|
CfnDataSource.ProxyConfigurationProperty.Builder |
credentials(java.lang.String credentials)
Sets the value of
CfnDataSource.ProxyConfigurationProperty.getCredentials() |
CfnDataSource.ProxyConfigurationProperty.Builder |
host(java.lang.String host)
Sets the value of
CfnDataSource.ProxyConfigurationProperty.getHost() |
CfnDataSource.ProxyConfigurationProperty.Builder |
port(java.lang.Number port)
Sets the value of
CfnDataSource.ProxyConfigurationProperty.getPort() |
public CfnDataSource.ProxyConfigurationProperty.Builder host(java.lang.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
public CfnDataSource.ProxyConfigurationProperty.Builder port(java.lang.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
public CfnDataSource.ProxyConfigurationProperty.Builder credentials(java.lang.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
public CfnDataSource.ProxyConfigurationProperty build()
CfnDataSource.ProxyConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided