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 linkedAccount with key ID and subjectdeveloperJwt(LinkedAccountDeveloperJwt developerJwt) Developer JWT linkedAccount with key ID and subjectdefault LinkedAccount.Builderemail(Consumer<LinkedAccountEmail.Builder> email) Email-based linkedAccountemail(LinkedAccountEmail email) Email-based linkedAccountdefault LinkedAccount.BuilderoAuth2(Consumer<LinkedAccountOAuth2.Builder> oAuth2) OAuth2 provider linkedAccount (Google, Apple, X, Telegram, GitHub)oAuth2(LinkedAccountOAuth2 oAuth2) OAuth2 provider linkedAccount (Google, Apple, X, Telegram, GitHub)default LinkedAccount.BuilderSMS-based linkedAccount using phone numbersms(LinkedAccountSms sms) SMS-based linkedAccount using phone numberMethods 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 linkedAccount
- Parameters:
email- Email-based linkedAccount- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Email-based linkedAccount
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 linkedAccount using phone number
- Parameters:
sms- SMS-based linkedAccount using phone number- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sms
SMS-based linkedAccount 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 linkedAccount with key ID and subject
- Parameters:
developerJwt- Developer JWT linkedAccount 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 linkedAccount 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 linkedAccount (Google, Apple, X, Telegram, GitHub)
- Parameters:
oAuth2- OAuth2 provider linkedAccount (Google, Apple, X, Telegram, GitHub)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuth2
OAuth2 provider linkedAccount (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:
-