/** * Constructs a new SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods * to initialize any additional object members. * * @param queueUrl * The URL of the Amazon SQS queue to which batched messages are sent.</p> * <p> * Queue URLs and names are case-sensitive. */ public SendMessageBatchRequest(String queueUrl) { setQueueUrl(queueUrl); }
/** * <p> * The URL of the Amazon SQS queue to which batched messages are sent. * </p> * <p> * Queue URLs and names are case-sensitive. * </p> * * @param queueUrl * The URL of the Amazon SQS queue to which batched messages are sent.</p> * <p> * Queue URLs and names are case-sensitive. * @return Returns a reference to this object so that method calls can be chained together. */ public SendMessageBatchRequest withQueueUrl(String queueUrl) { setQueueUrl(queueUrl); return this; }
/** * Constructs a new SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods * to initialize any additional object members. * * @param queueUrl * The URL of the Amazon SQS queue to which batched messages are sent.</p> * <p> * Queue URLs and names are case-sensitive. * @param entries * A list of <code> <a>SendMessageBatchRequestEntry</a> </code> items. */ public SendMessageBatchRequest(String queueUrl, java.util.List<SendMessageBatchRequestEntry> entries) { setQueueUrl(queueUrl); setEntries(entries); }
final SendMessageBatchRequest request = new SendMessageBatchRequest(); final String queueUrl = context.getProperty(QUEUE_URL).evaluateAttributeExpressions(flowFile).getValue(); request.setQueueUrl(queueUrl);
/** * Constructs a new SendMessageBatchRequest object. Callers should use the * setter or fluent setter (with...) methods to initialize any additional * object members. * * @param queueUrl <p> * The URL of the Amazon SQS queue to take action on. * </p> * <p> * Queue URLs are case-sensitive. * </p> */ public SendMessageBatchRequest(String queueUrl) { setQueueUrl(queueUrl); }
/** * Constructs a new SendMessageBatchRequest object. Callers should use the * setter or fluent setter (with...) methods to initialize any additional * object members. * * @param queueUrl <p> * The URL of the Amazon SQS queue to take action on. * </p> * <p> * Queue URLs are case-sensitive. * </p> * @param entries <p> * A list of <a>SendMessageBatchRequestEntry</a> items. * </p> */ public SendMessageBatchRequest(String queueUrl, java.util.List<SendMessageBatchRequestEntry> entries) { setQueueUrl(queueUrl); setEntries(entries); }
throws AmazonServiceException, AmazonClientException { SendMessageBatchRequest sendMessageBatchRequest = new SendMessageBatchRequest(); sendMessageBatchRequest.setQueueUrl(queueUrl); sendMessageBatchRequest.setEntries(entries); return sendMessageBatch(sendMessageBatchRequest);
/** * Constructs a new SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods * to initialize any additional object members. * * @param queueUrl * The URL of the Amazon SQS queue to which batched messages are sent.</p> * <p> * Queue URLs and names are case-sensitive. */ public SendMessageBatchRequest(String queueUrl) { setQueueUrl(queueUrl); }
/** * Constructs a new SendMessageBatchRequest object. Callers should use the * setter or fluent setter (with...) methods to initialize any additional * object members. * * @param queueUrl <p> * The URL of the Amazon SQS queue to take action on. * </p> * <p> * Queue URLs are case-sensitive. * </p> */ public SendMessageBatchRequest(String queueUrl) { setQueueUrl(queueUrl); }
/** * <p> * The URL of the Amazon SQS queue to which batched messages are sent. * </p> * <p> * Queue URLs and names are case-sensitive. * </p> * * @param queueUrl * The URL of the Amazon SQS queue to which batched messages are sent.</p> * <p> * Queue URLs and names are case-sensitive. * @return Returns a reference to this object so that method calls can be chained together. */ public SendMessageBatchRequest withQueueUrl(String queueUrl) { setQueueUrl(queueUrl); return this; }
/** * Constructs a new SendMessageBatchRequest object. Callers should use the setter or fluent setter (with...) methods * to initialize any additional object members. * * @param queueUrl * The URL of the Amazon SQS queue to which batched messages are sent.</p> * <p> * Queue URLs and names are case-sensitive. * @param entries * A list of <code> <a>SendMessageBatchRequestEntry</a> </code> items. */ public SendMessageBatchRequest(String queueUrl, java.util.List<SendMessageBatchRequestEntry> entries) { setQueueUrl(queueUrl); setEntries(entries); }
/** * Constructs a new SendMessageBatchRequest object. Callers should use the * setter or fluent setter (with...) methods to initialize any additional * object members. * * @param queueUrl <p> * The URL of the Amazon SQS queue to take action on. * </p> * <p> * Queue URLs are case-sensitive. * </p> * @param entries <p> * A list of <a>SendMessageBatchRequestEntry</a> items. * </p> */ public SendMessageBatchRequest(String queueUrl, java.util.List<SendMessageBatchRequestEntry> entries) { setQueueUrl(queueUrl); setEntries(entries); }
throws AmazonServiceException, AmazonClientException { SendMessageBatchRequest sendMessageBatchRequest = new SendMessageBatchRequest(); sendMessageBatchRequest.setQueueUrl(queueUrl); sendMessageBatchRequest.setEntries(entries); return sendMessageBatch(sendMessageBatchRequest);
final SendMessageBatchRequest request = new SendMessageBatchRequest(); final String queueUrl = context.getProperty(QUEUE_URL).evaluateAttributeExpressions(flowFile).getValue(); request.setQueueUrl(queueUrl);