User

data class User(val value: PrincipalUser) : Principal

The user associated with the principal.

Constructors

Link copied to clipboard
constructor(value: PrincipalUser)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.