asRestartBatchJobIdentifier
Casts this BatchJobIdentifier as a RestartBatchJobIdentifier and retrieves its aws.sdk.kotlin.services.m2.model.RestartBatchJobIdentifier value. Throws an exception if the BatchJobIdentifier is not a RestartBatchJobIdentifier.