Class CfnDataSource.WebCrawlerAuthenticationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.WebCrawlerAuthenticationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.WebCrawlerAuthenticationConfigurationProperty>
- Enclosing interface:
CfnDataSource.WebCrawlerAuthenticationConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.WebCrawlerAuthenticationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.WebCrawlerAuthenticationConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbasicAuthentication
(List<? extends Object> basicAuthentication) basicAuthentication
(IResolvable basicAuthentication) build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basicAuthentication
@Stability(Stable) public CfnDataSource.WebCrawlerAuthenticationConfigurationProperty.Builder basicAuthentication(IResolvable basicAuthentication) Sets the value ofCfnDataSource.WebCrawlerAuthenticationConfigurationProperty.getBasicAuthentication()
- Parameters:
basicAuthentication
- The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials. The list includes the name and port number of the website host.- Returns:
this
-
basicAuthentication
@Stability(Stable) public CfnDataSource.WebCrawlerAuthenticationConfigurationProperty.Builder basicAuthentication(List<? extends Object> basicAuthentication) Sets the value ofCfnDataSource.WebCrawlerAuthenticationConfigurationProperty.getBasicAuthentication()
- Parameters:
basicAuthentication
- The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials. The list includes the name and port number of the website host.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.WebCrawlerAuthenticationConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.WebCrawlerAuthenticationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-