@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMessageMoveTasksResultEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains the details of a message movement task.
Constructor and Description |
---|
ListMessageMoveTasksResultEntry() |
Modifier and Type | Method and Description |
---|---|
ListMessageMoveTasksResultEntry |
clone() |
boolean |
equals(Object obj) |
Long |
getApproximateNumberOfMessagesMoved()
The approximate number of messages already moved to the destination queue.
|
Long |
getApproximateNumberOfMessagesToMove()
The number of messages to be moved from the source queue.
|
String |
getDestinationArn()
The ARN of the destination queue if it has been specified in the
StartMessageMoveTask request. |
String |
getFailureReason()
The task failure reason (only included if the task status is FAILED).
|
Integer |
getMaxNumberOfMessagesPerSecond()
The number of messages to be moved per second (the message movement rate), if it has been specified in the
StartMessageMoveTask request. |
String |
getSourceArn()
The ARN of the queue that contains the messages to be moved to another queue.
|
Long |
getStartedTimestamp()
The timestamp of starting the message movement task.
|
String |
getStatus()
The status of the message movement task.
|
String |
getTaskHandle()
An identifier associated with a message movement task.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApproximateNumberOfMessagesMoved(Long approximateNumberOfMessagesMoved)
The approximate number of messages already moved to the destination queue.
|
void |
setApproximateNumberOfMessagesToMove(Long approximateNumberOfMessagesToMove)
The number of messages to be moved from the source queue.
|
void |
setDestinationArn(String destinationArn)
The ARN of the destination queue if it has been specified in the
StartMessageMoveTask request. |
void |
setFailureReason(String failureReason)
The task failure reason (only included if the task status is FAILED).
|
void |
setMaxNumberOfMessagesPerSecond(Integer maxNumberOfMessagesPerSecond)
The number of messages to be moved per second (the message movement rate), if it has been specified in the
StartMessageMoveTask request. |
void |
setSourceArn(String sourceArn)
The ARN of the queue that contains the messages to be moved to another queue.
|
void |
setStartedTimestamp(Long startedTimestamp)
The timestamp of starting the message movement task.
|
void |
setStatus(String status)
The status of the message movement task.
|
void |
setTaskHandle(String taskHandle)
An identifier associated with a message movement task.
|
String |
toString()
Returns a string representation of this object.
|
ListMessageMoveTasksResultEntry |
withApproximateNumberOfMessagesMoved(Long approximateNumberOfMessagesMoved)
The approximate number of messages already moved to the destination queue.
|
ListMessageMoveTasksResultEntry |
withApproximateNumberOfMessagesToMove(Long approximateNumberOfMessagesToMove)
The number of messages to be moved from the source queue.
|
ListMessageMoveTasksResultEntry |
withDestinationArn(String destinationArn)
The ARN of the destination queue if it has been specified in the
StartMessageMoveTask request. |
ListMessageMoveTasksResultEntry |
withFailureReason(String failureReason)
The task failure reason (only included if the task status is FAILED).
|
ListMessageMoveTasksResultEntry |
withMaxNumberOfMessagesPerSecond(Integer maxNumberOfMessagesPerSecond)
The number of messages to be moved per second (the message movement rate), if it has been specified in the
StartMessageMoveTask request. |
ListMessageMoveTasksResultEntry |
withSourceArn(String sourceArn)
The ARN of the queue that contains the messages to be moved to another queue.
|
ListMessageMoveTasksResultEntry |
withStartedTimestamp(Long startedTimestamp)
The timestamp of starting the message movement task.
|
ListMessageMoveTasksResultEntry |
withStatus(String status)
The status of the message movement task.
|
ListMessageMoveTasksResultEntry |
withTaskHandle(String taskHandle)
An identifier associated with a message movement task.
|
public void setTaskHandle(String 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.
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.public String getTaskHandle()
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.
ListMessageMoveTasks
action, it is only populated for tasks that are in RUNNING status.public ListMessageMoveTasksResultEntry withTaskHandle(String 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.
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.public void setStatus(String status)
The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
status
- The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED,
and FAILED.public String getStatus()
The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
public ListMessageMoveTasksResultEntry withStatus(String status)
The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
status
- The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED,
and FAILED.public void setSourceArn(String sourceArn)
The ARN of the queue that contains the messages to be moved to another queue.
sourceArn
- The ARN of the queue that contains the messages to be moved to another queue.public String getSourceArn()
The ARN of the queue that contains the messages to be moved to another queue.
public ListMessageMoveTasksResultEntry withSourceArn(String sourceArn)
The ARN of the queue that contains the messages to be moved to another queue.
sourceArn
- The ARN of the queue that contains the messages to be moved to another queue.public void setDestinationArn(String destinationArn)
The ARN of the destination queue if it has been specified in the StartMessageMoveTask
request. If a
DestinationArn
has not been specified in the StartMessageMoveTask
request, this field
value will be NULL.
destinationArn
- The ARN of the destination queue if it has been specified in the StartMessageMoveTask
request. If a DestinationArn
has not been specified in the StartMessageMoveTask
request, this field value will be NULL.public String getDestinationArn()
The ARN of the destination queue if it has been specified in the StartMessageMoveTask
request. If a
DestinationArn
has not been specified in the StartMessageMoveTask
request, this field
value will be NULL.
StartMessageMoveTask
request. If a DestinationArn
has not been specified in the StartMessageMoveTask
request, this field value will be NULL.public ListMessageMoveTasksResultEntry withDestinationArn(String destinationArn)
The ARN of the destination queue if it has been specified in the StartMessageMoveTask
request. If a
DestinationArn
has not been specified in the StartMessageMoveTask
request, this field
value will be NULL.
destinationArn
- The ARN of the destination queue if it has been specified in the StartMessageMoveTask
request. If a DestinationArn
has not been specified in the StartMessageMoveTask
request, this field value will be NULL.public void setMaxNumberOfMessagesPerSecond(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 a MaxNumberOfMessagesPerSecond
has not been specified
in the StartMessageMoveTask
request, 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
StartMessageMoveTask
request. If a MaxNumberOfMessagesPerSecond
has not been
specified in the StartMessageMoveTask
request, this field value will be NULL.public Integer getMaxNumberOfMessagesPerSecond()
The number of messages to be moved per second (the message movement rate), if it has been specified in the
StartMessageMoveTask
request. If a MaxNumberOfMessagesPerSecond
has not been specified
in the StartMessageMoveTask
request, this field value will be NULL.
StartMessageMoveTask
request. If a MaxNumberOfMessagesPerSecond
has not
been specified in the StartMessageMoveTask
request, this field value will be NULL.public ListMessageMoveTasksResultEntry withMaxNumberOfMessagesPerSecond(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 a MaxNumberOfMessagesPerSecond
has not been specified
in the StartMessageMoveTask
request, 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
StartMessageMoveTask
request. If a MaxNumberOfMessagesPerSecond
has not been
specified in the StartMessageMoveTask
request, this field value will be NULL.public void setApproximateNumberOfMessagesMoved(Long approximateNumberOfMessagesMoved)
The approximate number of messages already moved to the destination queue.
approximateNumberOfMessagesMoved
- The approximate number of messages already moved to the destination queue.public Long getApproximateNumberOfMessagesMoved()
The approximate number of messages already moved to the destination queue.
public ListMessageMoveTasksResultEntry withApproximateNumberOfMessagesMoved(Long approximateNumberOfMessagesMoved)
The approximate number of messages already moved to the destination queue.
approximateNumberOfMessagesMoved
- The approximate number of messages already moved to the destination queue.public void setApproximateNumberOfMessagesToMove(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.
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.public Long getApproximateNumberOfMessagesToMove()
The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task.
public ListMessageMoveTasksResultEntry withApproximateNumberOfMessagesToMove(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.
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.public void setFailureReason(String failureReason)
The task failure reason (only included if the task status is FAILED).
failureReason
- The task failure reason (only included if the task status is FAILED).public String getFailureReason()
The task failure reason (only included if the task status is FAILED).
public ListMessageMoveTasksResultEntry withFailureReason(String failureReason)
The task failure reason (only included if the task status is FAILED).
failureReason
- The task failure reason (only included if the task status is FAILED).public void setStartedTimestamp(Long startedTimestamp)
The timestamp of starting the message movement task.
startedTimestamp
- The timestamp of starting the message movement task.public Long getStartedTimestamp()
The timestamp of starting the message movement task.
public ListMessageMoveTasksResultEntry withStartedTimestamp(Long startedTimestamp)
The timestamp of starting the message movement task.
startedTimestamp
- The timestamp of starting the message movement task.public String toString()
toString
in class Object
Object.toString()
public ListMessageMoveTasksResultEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.