Class ResponseBatchConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.sqs.internal.batchmanager.ResponseBatchConfiguration
-
@SdkInternalApi public final class ResponseBatchConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponseBatchConfiguration.Builder
-
Field Summary
Fields Modifier and Type Field Description static intATTRIBUTE_MAPS_PAYLOAD_BYTESAWS SQS Message Attributes Documentation Rounding up max payload due to attribute maps.static intMAX_DONE_RECEIVE_BATCHES_DEFAULTstatic intMAX_INFLIGHT_RECEIVE_BATCHES_DEFAULTstatic intMAX_SEND_MESSAGE_PAYLOAD_SIZE_BYTESstatic intMAX_SUPPORTED_SQS_RECEIVE_MSGstatic List<MessageSystemAttributeName>MESSAGE_SYSTEM_ATTRIBUTE_NAMES_DEFAULTstatic DurationMIN_RECEIVE_WAIT_TIME_MS_DEFAULTstatic List<String>RECEIVE_MESSAGE_ATTRIBUTE_NAMES_DEFAULTstatic DurationVISIBILITY_TIMEOUT_SECONDS_DEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseBatchConfiguration.Builderbuilder()static ResponseBatchConfiguration.Builderbuilder(BatchOverrideConfiguration overrideConfiguration)intmaxBatchItems()intmaxDoneReceiveBatches()intmaxInflightReceiveBatches()DurationmessageMinWaitDuration()List<MessageSystemAttributeName>messageSystemAttributeNames()List<String>receiveMessageAttributeNames()DurationvisibilityTimeout()
-
-
-
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()
-
-