Interface LinkedAccount.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LinkedAccount.Builder,,LinkedAccount> SdkBuilder<LinkedAccount.Builder,,LinkedAccount> SdkPojo
- Enclosing class:
LinkedAccount
-
Method Summary
Modifier and TypeMethodDescriptiondefault LinkedAccount.BuilderdeveloperJwt(Consumer<LinkedAccountDeveloperJwt.Builder> developerJwt) Developer JWT linked account with key ID and subject.developerJwt(LinkedAccountDeveloperJwt developerJwt) Developer JWT linked account with key ID and subject.default LinkedAccount.Builderemail(Consumer<LinkedAccountEmail.Builder> email) Email-based linked account.email(LinkedAccountEmail email) Email-based linked account.default LinkedAccount.BuilderoAuth2(Consumer<LinkedAccountOAuth2.Builder> oAuth2) OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).oAuth2(LinkedAccountOAuth2 oAuth2) OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).default LinkedAccount.BuilderSMS-based linked account using phone number.sms(LinkedAccountSms sms) SMS-based linked account using phone number.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, sdkFieldNameToField, sdkFields
-
Method Details
-
email
Email-based linked account.
- Parameters:
email- Email-based linked account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Email-based linked account.
This is a convenience method that creates an instance of theLinkedAccountEmail.Builderavoiding the need to create one manually viaLinkedAccountEmail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemail(LinkedAccountEmail).- Parameters:
email- a consumer that will call methods onLinkedAccountEmail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sms
SMS-based linked account using phone number.
- Parameters:
sms- SMS-based linked account using phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sms
SMS-based linked account using phone number.
This is a convenience method that creates an instance of theLinkedAccountSms.Builderavoiding the need to create one manually viaLinkedAccountSms.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosms(LinkedAccountSms).- Parameters:
sms- a consumer that will call methods onLinkedAccountSms.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
developerJwt
Developer JWT linked account with key ID and subject.
- Parameters:
developerJwt- Developer JWT linked account with key ID and subject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
developerJwt
default LinkedAccount.Builder developerJwt(Consumer<LinkedAccountDeveloperJwt.Builder> developerJwt) Developer JWT linked account with key ID and subject.
This is a convenience method that creates an instance of theLinkedAccountDeveloperJwt.Builderavoiding the need to create one manually viaLinkedAccountDeveloperJwt.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeveloperJwt(LinkedAccountDeveloperJwt).- Parameters:
developerJwt- a consumer that will call methods onLinkedAccountDeveloperJwt.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuth2
OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).
- Parameters:
oAuth2- OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2
OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).
This is a convenience method that creates an instance of theLinkedAccountOAuth2.Builderavoiding the need to create one manually viaLinkedAccountOAuth2.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooAuth2(LinkedAccountOAuth2).- Parameters:
oAuth2- a consumer that will call methods onLinkedAccountOAuth2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-