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 theStartMessageMoveTaskrequest.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 theStartMessageMoveTaskrequest.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.taskHandle(String taskHandle) An identifier associated with a message movement task.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, sdkFields
-
Method Details
-
taskHandle
An identifier associated with a message movement task. When this field is returned in the response of the
ListMessageMoveTasksaction, 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 theListMessageMoveTasksaction, 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.
-
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
StartMessageMoveTaskrequest. If aDestinationArnhas not been specified in theStartMessageMoveTaskrequest, this field value will be NULL.- Parameters:
destinationArn- The ARN of the destination queue if it has been specified in theStartMessageMoveTaskrequest. If aDestinationArnhas not been specified in theStartMessageMoveTaskrequest, 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
StartMessageMoveTaskrequest. If aMaxNumberOfMessagesPerSecondhas not been specified in theStartMessageMoveTaskrequest, 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 theStartMessageMoveTaskrequest. If aMaxNumberOfMessagesPerSecondhas not been specified in theStartMessageMoveTaskrequest, 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 and is only included after the message movement task is selected to start.
- 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 and is only included after the message movement task is selected to start.- 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.
-