private void addPolicy(List<String> accountsToAuthorize) {
        if (accountsToAuthorize == null || accountsToAuthorize.isEmpty()) {
            LOGGER.info("No additional security policies attached for the queue " + queueName);
            return;
        }
        LOGGER.info("Authorizing " + accountsToAuthorize + " to the queue " + queueName);
        Map<String, String> attributes = new HashMap<>();
        attributes.put("Policy", getPolicy(accountsToAuthorize));
        SetQueueAttributesResult result = client.setQueueAttributes(queueURL, attributes);
        LOGGER.info("policy attachment result: " + result);
        LOGGER.info(
                "policy attachment result: status="
                        + result.getSdkHttpMetadata().getHttpStatusCode());
    }
@param visibilityTimeout Visibility timeout for the message in SECONDS
@return builder instance
awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java