Principal
Provides user and group information used for filtering documents to use for generating Amazon Q conversation responses.
Inheritors
Types
Functions
Casts this Principal as a Group and retrieves its aws.sdk.kotlin.services.qbusiness.model.PrincipalGroup value. Throws an exception if the Principal is not a Group.
Casts this Principal as a Group and retrieves its aws.sdk.kotlin.services.qbusiness.model.PrincipalGroup value. Returns null if the Principal is not a Group.
Casts this Principal as a User and retrieves its aws.sdk.kotlin.services.qbusiness.model.PrincipalUser value. Throws an exception if the Principal is not a User.
Casts this Principal as a User and retrieves its aws.sdk.kotlin.services.qbusiness.model.PrincipalUser value. Returns null if the Principal is not a User.