private RetryMode envVar() {
        return RetryMode.fromName(System.getenv(AWS_RETRY_MODE_ENV_VAR));
    }
@return the resolved retry mode. If not found, {@link RetryMode#LEGACY} will be returned
aws-java-sdk-core/src/main/java/com/amazonaws/retry/internal/RetryModeResolver.java