asPreProcessingTraceOrNull
Casts this Trace as a PreProcessingTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PreProcessingTrace value. Returns null if the Trace is not a PreProcessingTrace.