Email

data class Email(val value: LinkedAccountEmail) : LinkedAccount

Email-based linkedAccount

Constructors

Link copied to clipboard
constructor(value: LinkedAccountEmail)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
Link copied to clipboard

Casts this LinkedAccount as a Email and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountEmail value. Throws an exception if the LinkedAccount is not a Email.

Link copied to clipboard
Link copied to clipboard

Casts this LinkedAccount as a OAuth2 and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountOAuth2 value. Throws an exception if the LinkedAccount is not a OAuth2.

Link copied to clipboard
Link copied to clipboard

Casts this LinkedAccount as a Sms and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountSms value. Throws an exception if the LinkedAccount is not a Sms.

Link copied to clipboard

Casts this LinkedAccount as a Sms and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountSms value. Returns null if the LinkedAccount is not a Sms.