Class ListMessageMoveTasksResultEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListMessageMoveTasksResultEntry.Builder,ListMessageMoveTasksResultEntry>
Contains the details of a message movement task.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal LongThe approximate number of messages already moved to the destination queue.final LongThe number of messages to be moved from the source queue.builder()final StringThe ARN of the destination queue if it has been specified in theStartMessageMoveTaskrequest.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe task failure reason (only included if the task status is FAILED).final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe number of messages to be moved per second (the message movement rate), if it has been specified in theStartMessageMoveTaskrequest.static Class<? extends ListMessageMoveTasksResultEntry.Builder> final StringThe ARN of the queue that contains the messages to be moved to another queue.final LongThe timestamp of starting the message movement task.final Stringstatus()The status of the message movement task.final StringAn identifier associated with a message movement task.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.- Returns:
- 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.
-
status
The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
- Returns:
- The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
-
sourceArn
The ARN of the queue that contains the messages to be moved to another queue.
- Returns:
- The ARN of the queue that contains the messages to be moved to another queue.
-
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.- Returns:
- 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.
-
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.- Returns:
- 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.
-
approximateNumberOfMessagesMoved
The approximate number of messages already moved to the destination queue.
- Returns:
- The approximate number of messages already moved to the destination queue.
-
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:
- 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.
-
failureReason
The task failure reason (only included if the task status is FAILED).
- Returns:
- The task failure reason (only included if the task status is FAILED).
-
startedTimestamp
The timestamp of starting the message movement task.
- Returns:
- The timestamp of starting the message movement task.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ListMessageMoveTasksResultEntry.Builder,ListMessageMoveTasksResultEntry> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-