private void HandleOutput(StartAutonomousDatabaseRequest request)
        {
            var waiterConfig = new WaiterConfiguration
            {
                MaxAttempts           = MaxWaitAttempts,
                GetNextDelayInSeconds = (_) => WaitIntervalSeconds
            };

            switch (ParameterSetName)
            {
            case StatusParamSet:
                response = client.Waiters.ForStartAutonomousDatabase(request, waiterConfig, WaitForStatus).Execute();
                break;

            case Default:
                response = client.StartAutonomousDatabase(request).GetAwaiter().GetResult();
                break;
            }
            WriteOutput(response, response.AutonomousDatabase);
        }
        protected override void ProcessRecord()
        {
            base.ProcessRecord();
            StartAutonomousDatabaseRequest request;

            try
            {
                request = new StartAutonomousDatabaseRequest
                {
                    AutonomousDatabaseId = AutonomousDatabaseId,
                    IfMatch = IfMatch
                };

                HandleOutput(request);
                FinishProcessing(response);
            }
            catch (Exception ex)
            {
                TerminatingErrorDuringExecution(ex);
            }
        }