Id

data class Id(val value: String) : AclGrantee

The value specified is the canonical user ID of an Amazon Web Services account.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
fun asId(): String

Casts this AclGrantee as a Id and retrieves its kotlin.String value. Throws an exception if the AclGrantee is not a Id.

Link copied to clipboard

Casts this AclGrantee as a Id and retrieves its kotlin.String value. Returns null if the AclGrantee is not a Id.

Link copied to clipboard
fun asUri(): String

Casts this AclGrantee as a Uri and retrieves its kotlin.String value. Throws an exception if the AclGrantee is not a Uri.

Link copied to clipboard

Casts this AclGrantee as a Uri and retrieves its kotlin.String value. Returns null if the AclGrantee is not a Uri.