Interface SocialProviderSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SocialProviderSettings.Builder,
,SocialProviderSettings> SdkBuilder<SocialProviderSettings.Builder,
,SocialProviderSettings> SdkPojo
- Enclosing class:
SocialProviderSettings
public static interface SocialProviderSettings.Builder
extends SdkPojo, CopyableBuilder<SocialProviderSettings.Builder,SocialProviderSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SocialProviderSettings.Builder
Sets the value of the Facebook property for this object.facebook
(BackendAuthSocialProviderConfig facebook) Sets the value of the Facebook property for this object.default SocialProviderSettings.Builder
Sets the value of the Google property for this object.Sets the value of the Google property for this object.default SocialProviderSettings.Builder
loginWithAmazon
(Consumer<BackendAuthSocialProviderConfig.Builder> loginWithAmazon) Sets the value of the LoginWithAmazon property for this object.loginWithAmazon
(BackendAuthSocialProviderConfig loginWithAmazon) Sets the value of the LoginWithAmazon property for this object.default SocialProviderSettings.Builder
signInWithApple
(Consumer<BackendAuthAppleProviderConfig.Builder> signInWithApple) Sets the value of the SignInWithApple property for this object.signInWithApple
(BackendAuthAppleProviderConfig signInWithApple) Sets the value of the SignInWithApple property for this object.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
-
facebook
Sets the value of the Facebook property for this object.- Parameters:
facebook
- The new value for the Facebook property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
facebook
default SocialProviderSettings.Builder facebook(Consumer<BackendAuthSocialProviderConfig.Builder> facebook) Sets the value of the Facebook property for this object. This is a convenience method that creates an instance of theBackendAuthSocialProviderConfig.Builder
avoiding the need to create one manually viaBackendAuthSocialProviderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofacebook(BackendAuthSocialProviderConfig)
.- Parameters:
facebook
- a consumer that will call methods onBackendAuthSocialProviderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
google
Sets the value of the Google property for this object.- Parameters:
google
- The new value for the Google property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
google
default SocialProviderSettings.Builder google(Consumer<BackendAuthSocialProviderConfig.Builder> google) Sets the value of the Google property for this object. This is a convenience method that creates an instance of theBackendAuthSocialProviderConfig.Builder
avoiding the need to create one manually viaBackendAuthSocialProviderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togoogle(BackendAuthSocialProviderConfig)
.- Parameters:
google
- a consumer that will call methods onBackendAuthSocialProviderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loginWithAmazon
Sets the value of the LoginWithAmazon property for this object.- Parameters:
loginWithAmazon
- The new value for the LoginWithAmazon property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loginWithAmazon
default SocialProviderSettings.Builder loginWithAmazon(Consumer<BackendAuthSocialProviderConfig.Builder> loginWithAmazon) Sets the value of the LoginWithAmazon property for this object. This is a convenience method that creates an instance of theBackendAuthSocialProviderConfig.Builder
avoiding the need to create one manually viaBackendAuthSocialProviderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologinWithAmazon(BackendAuthSocialProviderConfig)
.- Parameters:
loginWithAmazon
- a consumer that will call methods onBackendAuthSocialProviderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signInWithApple
Sets the value of the SignInWithApple property for this object.- Parameters:
signInWithApple
- The new value for the SignInWithApple property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signInWithApple
default SocialProviderSettings.Builder signInWithApple(Consumer<BackendAuthAppleProviderConfig.Builder> signInWithApple) Sets the value of the SignInWithApple property for this object. This is a convenience method that creates an instance of theBackendAuthAppleProviderConfig.Builder
avoiding the need to create one manually viaBackendAuthAppleProviderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosignInWithApple(BackendAuthAppleProviderConfig)
.- Parameters:
signInWithApple
- a consumer that will call methods onBackendAuthAppleProviderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-