Interface PluginAuthConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PluginAuthConfiguration.Builder,
,PluginAuthConfiguration> SdkBuilder<PluginAuthConfiguration.Builder,
,PluginAuthConfiguration> SdkPojo
- Enclosing class:
PluginAuthConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault PluginAuthConfiguration.Builder
basicAuthConfiguration
(Consumer<BasicAuthConfiguration.Builder> basicAuthConfiguration) Information about the basic authentication credentials used to configure a plugin.basicAuthConfiguration
(BasicAuthConfiguration basicAuthConfiguration) Information about the basic authentication credentials used to configure a plugin.default PluginAuthConfiguration.Builder
noAuthConfiguration
(Consumer<NoAuthConfiguration.Builder> noAuthConfiguration) Information about invoking a custom plugin without any authentication.noAuthConfiguration
(NoAuthConfiguration noAuthConfiguration) Information about invoking a custom plugin without any authentication.default PluginAuthConfiguration.Builder
oAuth2ClientCredentialConfiguration
(Consumer<OAuth2ClientCredentialConfiguration.Builder> oAuth2ClientCredentialConfiguration) Information about the OAuth 2.0 authentication credential/token used to configure a plugin.oAuth2ClientCredentialConfiguration
(OAuth2ClientCredentialConfiguration oAuth2ClientCredentialConfiguration) Information about the OAuth 2.0 authentication credential/token used to configure a plugin.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
-
basicAuthConfiguration
PluginAuthConfiguration.Builder basicAuthConfiguration(BasicAuthConfiguration basicAuthConfiguration) Information about the basic authentication credentials used to configure a plugin.
- Parameters:
basicAuthConfiguration
- Information about the basic authentication credentials used to configure a plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
basicAuthConfiguration
default PluginAuthConfiguration.Builder basicAuthConfiguration(Consumer<BasicAuthConfiguration.Builder> basicAuthConfiguration) Information about the basic authentication credentials used to configure a plugin.
This is a convenience method that creates an instance of theBasicAuthConfiguration.Builder
avoiding the need to create one manually viaBasicAuthConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobasicAuthConfiguration(BasicAuthConfiguration)
.- Parameters:
basicAuthConfiguration
- a consumer that will call methods onBasicAuthConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2ClientCredentialConfiguration
PluginAuthConfiguration.Builder oAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfiguration oAuth2ClientCredentialConfiguration) Information about the OAuth 2.0 authentication credential/token used to configure a plugin.
- Parameters:
oAuth2ClientCredentialConfiguration
- Information about the OAuth 2.0 authentication credential/token used to configure a plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2ClientCredentialConfiguration
default PluginAuthConfiguration.Builder oAuth2ClientCredentialConfiguration(Consumer<OAuth2ClientCredentialConfiguration.Builder> oAuth2ClientCredentialConfiguration) Information about the OAuth 2.0 authentication credential/token used to configure a plugin.
This is a convenience method that creates an instance of theOAuth2ClientCredentialConfiguration.Builder
avoiding the need to create one manually viaOAuth2ClientCredentialConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooAuth2ClientCredentialConfiguration(OAuth2ClientCredentialConfiguration)
.- Parameters:
oAuth2ClientCredentialConfiguration
- a consumer that will call methods onOAuth2ClientCredentialConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noAuthConfiguration
Information about invoking a custom plugin without any authentication.
- Parameters:
noAuthConfiguration
- Information about invoking a custom plugin without any authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noAuthConfiguration
default PluginAuthConfiguration.Builder noAuthConfiguration(Consumer<NoAuthConfiguration.Builder> noAuthConfiguration) Information about invoking a custom plugin without any authentication.
This is a convenience method that creates an instance of theNoAuthConfiguration.Builder
avoiding the need to create one manually viaNoAuthConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonoAuthConfiguration(NoAuthConfiguration)
.- Parameters:
noAuthConfiguration
- a consumer that will call methods onNoAuthConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-