Interface AuthenticationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthenticationConfiguration.Builder,
,AuthenticationConfiguration> SdkBuilder<AuthenticationConfiguration.Builder,
,AuthenticationConfiguration> SdkPojo
- Enclosing class:
AuthenticationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbasicAuthentication
(Collection<BasicAuthenticationConfiguration> basicAuthentication) The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.basicAuthentication
(Consumer<BasicAuthenticationConfiguration.Builder>... basicAuthentication) The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.basicAuthentication
(BasicAuthenticationConfiguration... basicAuthentication) The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
basicAuthentication
AuthenticationConfiguration.Builder basicAuthentication(Collection<BasicAuthenticationConfiguration> 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthentication
AuthenticationConfiguration.Builder basicAuthentication(BasicAuthenticationConfiguration... 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthentication
AuthenticationConfiguration.Builder basicAuthentication(Consumer<BasicAuthenticationConfiguration.Builder>... 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.
This is a convenience method that creates an instance of theBasicAuthenticationConfiguration.Builder
avoiding the need to create one manually viaBasicAuthenticationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobasicAuthentication(List<BasicAuthenticationConfiguration>)
.- Parameters:
basicAuthentication
- a consumer that will call methods onBasicAuthenticationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-