Interface AuthenticationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthenticationConfig.Builder,,AuthenticationConfig> SdkBuilder<AuthenticationConfig.Builder,,AuthenticationConfig> SdkPojo
- Enclosing class:
AuthenticationConfig
-
Method Summary
Modifier and TypeMethodDescriptioncustomAuthConfigs(Collection<CustomAuthConfig> customAuthConfigs) Contains information required for custom authentication.customAuthConfigs(Consumer<CustomAuthConfig.Builder>... customAuthConfigs) Contains information required for custom authentication.customAuthConfigs(CustomAuthConfig... customAuthConfigs) Contains information required for custom authentication.isApiKeyAuthSupported(Boolean isApiKeyAuthSupported) Indicates whether API key authentication is supported by the connectorisBasicAuthSupported(Boolean isBasicAuthSupported) Indicates whether basic authentication is supported by the connector.isCustomAuthSupported(Boolean isCustomAuthSupported) Indicates whether custom authentication is supported by the connectorisOAuth2Supported(Boolean isOAuth2Supported) Indicates whether OAuth 2.0 authentication is supported by the connector.default AuthenticationConfig.BuilderoAuth2Defaults(Consumer<OAuth2Defaults.Builder> oAuth2Defaults) Contains the default values required for OAuth 2.0 authentication.oAuth2Defaults(OAuth2Defaults oAuth2Defaults) Contains the default values required for OAuth 2.0 authentication.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
isBasicAuthSupported
Indicates whether basic authentication is supported by the connector.
- Parameters:
isBasicAuthSupported- Indicates whether basic authentication is supported by the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isApiKeyAuthSupported
Indicates whether API key authentication is supported by the connector
- Parameters:
isApiKeyAuthSupported- Indicates whether API key authentication is supported by the connector- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isOAuth2Supported
Indicates whether OAuth 2.0 authentication is supported by the connector.
- Parameters:
isOAuth2Supported- Indicates whether OAuth 2.0 authentication is supported by the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCustomAuthSupported
Indicates whether custom authentication is supported by the connector
- Parameters:
isCustomAuthSupported- Indicates whether custom authentication is supported by the connector- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2Defaults
Contains the default values required for OAuth 2.0 authentication.
- Parameters:
oAuth2Defaults- Contains the default values required for OAuth 2.0 authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2Defaults
default AuthenticationConfig.Builder oAuth2Defaults(Consumer<OAuth2Defaults.Builder> oAuth2Defaults) Contains the default values required for OAuth 2.0 authentication.
This is a convenience method that creates an instance of theOAuth2Defaults.Builderavoiding the need to create one manually viaOAuth2Defaults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuth2Defaults(OAuth2Defaults).- Parameters:
oAuth2Defaults- a consumer that will call methods onOAuth2Defaults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customAuthConfigs
Contains information required for custom authentication.
- Parameters:
customAuthConfigs- Contains information required for custom authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAuthConfigs
Contains information required for custom authentication.
- Parameters:
customAuthConfigs- Contains information required for custom authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customAuthConfigs
AuthenticationConfig.Builder customAuthConfigs(Consumer<CustomAuthConfig.Builder>... customAuthConfigs) Contains information required for custom authentication.
This is a convenience method that creates an instance of theCustomAuthConfig.Builderavoiding the need to create one manually viaCustomAuthConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomAuthConfigs(List<CustomAuthConfig>).- Parameters:
customAuthConfigs- a consumer that will call methods onCustomAuthConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-