Class ResponseBatchConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.sqs.internal.batchmanager.ResponseBatchConfiguration
-
public final class ResponseBatchConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResponseBatchConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description static int
ATTRIBUTE_MAPS_PAYLOAD_BYTES
AWS SQS Message Attributes Documentation Rounding up max payload due to attribute maps.static int
MAX_DONE_RECEIVE_BATCHES_DEFAULT
static int
MAX_INFLIGHT_RECEIVE_BATCHES_DEFAULT
static int
MAX_SEND_MESSAGE_PAYLOAD_SIZE_BYTES
static int
MAX_SUPPORTED_SQS_RECEIVE_MSG
static List<MessageSystemAttributeName>
MESSAGE_SYSTEM_ATTRIBUTE_NAMES_DEFAULT
static Duration
MIN_RECEIVE_WAIT_TIME_MS_DEFAULT
static List<String>
RECEIVE_MESSAGE_ATTRIBUTE_NAMES_DEFAULT
static Duration
VISIBILITY_TIMEOUT_SECONDS_DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseBatchConfiguration.Builder
builder()
static ResponseBatchConfiguration.Builder
builder(BatchOverrideConfiguration overrideConfiguration)
int
maxBatchItems()
int
maxDoneReceiveBatches()
int
maxInflightReceiveBatches()
Duration
messageMinWaitDuration()
List<MessageSystemAttributeName>
messageSystemAttributeNames()
List<String>
receiveMessageAttributeNames()
Duration
visibilityTimeout()
-
-
-
Field Detail
-
VISIBILITY_TIMEOUT_SECONDS_DEFAULT
public static final Duration VISIBILITY_TIMEOUT_SECONDS_DEFAULT
-
MIN_RECEIVE_WAIT_TIME_MS_DEFAULT
public static final Duration MIN_RECEIVE_WAIT_TIME_MS_DEFAULT
-
RECEIVE_MESSAGE_ATTRIBUTE_NAMES_DEFAULT
public static final List<String> RECEIVE_MESSAGE_ATTRIBUTE_NAMES_DEFAULT
-
MESSAGE_SYSTEM_ATTRIBUTE_NAMES_DEFAULT
public static final List<MessageSystemAttributeName> MESSAGE_SYSTEM_ATTRIBUTE_NAMES_DEFAULT
-
MAX_INFLIGHT_RECEIVE_BATCHES_DEFAULT
public static final int MAX_INFLIGHT_RECEIVE_BATCHES_DEFAULT
- See Also:
- Constant Field Values
-
MAX_DONE_RECEIVE_BATCHES_DEFAULT
public static final int MAX_DONE_RECEIVE_BATCHES_DEFAULT
- See Also:
- Constant Field Values
-
MAX_SUPPORTED_SQS_RECEIVE_MSG
public static final int MAX_SUPPORTED_SQS_RECEIVE_MSG
- See Also:
- Constant Field Values
-
MAX_SEND_MESSAGE_PAYLOAD_SIZE_BYTES
public static final int MAX_SEND_MESSAGE_PAYLOAD_SIZE_BYTES
- See Also:
- Constant Field Values
-
ATTRIBUTE_MAPS_PAYLOAD_BYTES
public static final int ATTRIBUTE_MAPS_PAYLOAD_BYTES
AWS SQS Message Attributes Documentation Rounding up max payload due to attribute maps. This was not done in V1, thus an issue was reported where batch messages failed with payload size exceeding the maximum.- See Also:
- Constant Field Values
-
-
Method Detail
-
visibilityTimeout
public Duration visibilityTimeout()
-
messageMinWaitDuration
public Duration messageMinWaitDuration()
-
messageSystemAttributeNames
public List<MessageSystemAttributeName> messageSystemAttributeNames()
-
maxBatchItems
public int maxBatchItems()
-
maxInflightReceiveBatches
public int maxInflightReceiveBatches()
-
maxDoneReceiveBatches
public int maxDoneReceiveBatches()
-
builder
public static ResponseBatchConfiguration.Builder builder(BatchOverrideConfiguration overrideConfiguration)
-
builder
public static ResponseBatchConfiguration.Builder builder()
-
-