asContentBlockStopOrNull
Casts this InvokeHarnessStreamOutput as a ContentBlockStop and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessContentBlockStopEvent value. Returns null if the InvokeHarnessStreamOutput is not a ContentBlockStop.