Interface AuthenticationConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AuthenticationConfig.Builder,AuthenticationConfig>,SdkBuilder<AuthenticationConfig.Builder,AuthenticationConfig>,SdkPojo
- Enclosing class:
- AuthenticationConfig
public static interface AuthenticationConfig.Builder extends SdkPojo, CopyableBuilder<AuthenticationConfig.Builder,AuthenticationConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AuthenticationConfig.BuildercustomAuthConfigs(Collection<CustomAuthConfig> customAuthConfigs)Contains information required for custom authentication.AuthenticationConfig.BuildercustomAuthConfigs(Consumer<CustomAuthConfig.Builder>... customAuthConfigs)Contains information required for custom authentication.AuthenticationConfig.BuildercustomAuthConfigs(CustomAuthConfig... customAuthConfigs)Contains information required for custom authentication.AuthenticationConfig.BuilderisApiKeyAuthSupported(Boolean isApiKeyAuthSupported)Indicates whether API key authentication is supported by the connectorAuthenticationConfig.BuilderisBasicAuthSupported(Boolean isBasicAuthSupported)Indicates whether basic authentication is supported by the connector.AuthenticationConfig.BuilderisCustomAuthSupported(Boolean isCustomAuthSupported)Indicates whether custom authentication is supported by the connectorAuthenticationConfig.BuilderisOAuth2Supported(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.AuthenticationConfig.BuilderoAuth2Defaults(OAuth2Defaults oAuth2Defaults)Contains the default values required for OAuth 2.0 authentication.-
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 Detail
-
isBasicAuthSupported
AuthenticationConfig.Builder isBasicAuthSupported(Boolean 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
AuthenticationConfig.Builder isApiKeyAuthSupported(Boolean 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
AuthenticationConfig.Builder isOAuth2Supported(Boolean 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
AuthenticationConfig.Builder isCustomAuthSupported(Boolean 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
AuthenticationConfig.Builder oAuth2Defaults(OAuth2Defaults 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:
oAuth2Defaults(OAuth2Defaults)
-
customAuthConfigs
AuthenticationConfig.Builder customAuthConfigs(Collection<CustomAuthConfig> 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(CustomAuthConfig... 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 to#customAuthConfigs(List.) - 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:
#customAuthConfigs(java.util.Collection)
-
-