asFile

Casts this AssetContent as a File and retrieves its aws.sdk.kotlin.services.devopsagent.model.AssetFileContent value. Throws an exception if the AssetContent is not a File.