asEndOrNull

Casts this SelectObjectContentEventStream as a End and retrieves its aws.sdk.kotlin.services.s3.model.EndEvent value. Returns null if the SelectObjectContentEventStream is not a End.