@Stability(value=Stable) public static final class CfnDataSource.WebCrawlerBasicAuthenticationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.WebCrawlerBasicAuthenticationProperty>
CfnDataSource.WebCrawlerBasicAuthenticationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDataSource.WebCrawlerBasicAuthenticationProperty |
build()
Builds the configured instance.
|
CfnDataSource.WebCrawlerBasicAuthenticationProperty.Builder |
credentials(String credentials)
Sets the value of
CfnDataSource.WebCrawlerBasicAuthenticationProperty.getCredentials() |
CfnDataSource.WebCrawlerBasicAuthenticationProperty.Builder |
host(String host)
Sets the value of
CfnDataSource.WebCrawlerBasicAuthenticationProperty.getHost() |
CfnDataSource.WebCrawlerBasicAuthenticationProperty.Builder |
port(Number port)
Sets the value of
CfnDataSource.WebCrawlerBasicAuthenticationProperty.getPort() |
@Stability(value=Stable) public CfnDataSource.WebCrawlerBasicAuthenticationProperty.Builder credentials(String credentials)
CfnDataSource.WebCrawlerBasicAuthenticationProperty.getCredentials()credentials - Your secret ARN, which you can create in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html). This parameter is required.
You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password.this@Stability(value=Stable) public CfnDataSource.WebCrawlerBasicAuthenticationProperty.Builder host(String host)
CfnDataSource.WebCrawlerBasicAuthenticationProperty.getHost()host - The name of the website host you want to connect to using authentication credentials. 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.WebCrawlerBasicAuthenticationProperty.Builder port(Number port)
CfnDataSource.WebCrawlerBasicAuthenticationProperty.getPort()port - The port number of the website host you want to connect to using authentication credentials. 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.WebCrawlerBasicAuthenticationProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.WebCrawlerBasicAuthenticationProperty>CfnDataSource.WebCrawlerBasicAuthenticationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.