Interface UpdateQueueRecordsVisibilityRequestEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateQueueRecordsVisibilityRequestEntry.Builder,,UpdateQueueRecordsVisibilityRequestEntry> SdkBuilder<UpdateQueueRecordsVisibilityRequestEntry.Builder,,UpdateQueueRecordsVisibilityRequestEntry> SdkPojo
- Enclosing class:
UpdateQueueRecordsVisibilityRequestEntry
@Mutable
@NotThreadSafe
public static interface UpdateQueueRecordsVisibilityRequestEntry.Builder
extends SdkPojo, CopyableBuilder<UpdateQueueRecordsVisibilityRequestEntry.Builder,UpdateQueueRecordsVisibilityRequestEntry>
-
Method Summary
Modifier and TypeMethodDescriptionreceiptHandle(String receiptHandle) The receipt handle of the record, as returned by ReceiveQueueRecords.visibilityTimeoutSeconds(Integer visibilityTimeoutSeconds) The new duration, in seconds, that the record is in flight and not visible to any consumer instance, measured from when this request is processed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
receiptHandle
The receipt handle of the record, as returned by ReceiveQueueRecords.
- Parameters:
receiptHandle- The receipt handle of the record, as returned by ReceiveQueueRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
visibilityTimeoutSeconds
UpdateQueueRecordsVisibilityRequestEntry.Builder visibilityTimeoutSeconds(Integer visibilityTimeoutSeconds) The new duration, in seconds, that the record is in flight and not visible to any consumer instance, measured from when this request is processed. Specify
0to make the record visible in the queue immediately.- Parameters:
visibilityTimeoutSeconds- The new duration, in seconds, that the record is in flight and not visible to any consumer instance, measured from when this request is processed. Specify0to make the record visible in the queue immediately.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-