Interface ListMessageMoveTasksResultEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ListMessageMoveTasksResultEntry.Builder,
,ListMessageMoveTasksResultEntry> SdkBuilder<ListMessageMoveTasksResultEntry.Builder,
,ListMessageMoveTasksResultEntry> SdkPojo
- Enclosing class:
ListMessageMoveTasksResultEntry
-
Method Summary
Modifier and TypeMethodDescriptionapproximateNumberOfMessagesMoved
(Long approximateNumberOfMessagesMoved) The approximate number of messages already moved to the destination queue.approximateNumberOfMessagesToMove
(Long approximateNumberOfMessagesToMove) The number of messages to be moved from the source queue.destinationArn
(String destinationArn) The ARN of the destination queue if it has been specified in theStartMessageMoveTask
request.failureReason
(String failureReason) The task failure reason (only included if the task status is FAILED).maxNumberOfMessagesPerSecond
(Integer maxNumberOfMessagesPerSecond) The number of messages to be moved per second (the message movement rate), if it has been specified in theStartMessageMoveTask
request.The ARN of the queue that contains the messages to be moved to another queue.startedTimestamp
(Long startedTimestamp) The timestamp of starting the message movement task.The status of the message movement task.status
(TaskStatus status) The status of the message movement task.taskHandle
(String taskHandle) An identifier associated with a message movement task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
taskHandle
An identifier associated with a message movement task. When this field is returned in the response of the
ListMessageMoveTasks
action, it is only populated for tasks that are in RUNNING status.- Parameters:
taskHandle
- An identifier associated with a message movement task. When this field is returned in the response of theListMessageMoveTasks
action, it is only populated for tasks that are in RUNNING status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
- Parameters:
status
- The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
- Parameters:
status
- The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceArn
The ARN of the queue that contains the messages to be moved to another queue.
- Parameters:
sourceArn
- The ARN of the queue that contains the messages to be moved to another queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationArn
The ARN of the destination queue if it has been specified in the
StartMessageMoveTask
request. If aDestinationArn
has not been specified in theStartMessageMoveTask
request, this field value will be NULL.- Parameters:
destinationArn
- The ARN of the destination queue if it has been specified in theStartMessageMoveTask
request. If aDestinationArn
has not been specified in theStartMessageMoveTask
request, this field value will be NULL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxNumberOfMessagesPerSecond
ListMessageMoveTasksResultEntry.Builder maxNumberOfMessagesPerSecond(Integer maxNumberOfMessagesPerSecond) The number of messages to be moved per second (the message movement rate), if it has been specified in the
StartMessageMoveTask
request. If aMaxNumberOfMessagesPerSecond
has not been specified in theStartMessageMoveTask
request, this field value will be NULL.- Parameters:
maxNumberOfMessagesPerSecond
- The number of messages to be moved per second (the message movement rate), if it has been specified in theStartMessageMoveTask
request. If aMaxNumberOfMessagesPerSecond
has not been specified in theStartMessageMoveTask
request, this field value will be NULL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateNumberOfMessagesMoved
ListMessageMoveTasksResultEntry.Builder approximateNumberOfMessagesMoved(Long approximateNumberOfMessagesMoved) The approximate number of messages already moved to the destination queue.
- Parameters:
approximateNumberOfMessagesMoved
- The approximate number of messages already moved to the destination queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateNumberOfMessagesToMove
ListMessageMoveTasksResultEntry.Builder approximateNumberOfMessagesToMove(Long approximateNumberOfMessagesToMove) The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task.
- Parameters:
approximateNumberOfMessagesToMove
- The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The task failure reason (only included if the task status is FAILED).
- Parameters:
failureReason
- The task failure reason (only included if the task status is FAILED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedTimestamp
The timestamp of starting the message movement task.
- Parameters:
startedTimestamp
- The timestamp of starting the message movement task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-