asFile

Casts this RelatedItemInputContent as a File and retrieves its aws.sdk.kotlin.services.connectcases.model.FileContent value. Throws an exception if the RelatedItemInputContent is not a File.