@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartMessageMoveTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartMessageMoveTaskRequest() |
Modifier and Type | Method and Description |
---|---|
StartMessageMoveTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestinationArn()
The ARN of the queue that receives the moved messages.
|
Integer |
getMaxNumberOfMessagesPerSecond()
The number of messages to be moved per second (the message movement rate).
|
String |
getSourceArn()
The ARN of the queue that contains the messages to be moved to another queue.
|
int |
hashCode() |
void |
setDestinationArn(String destinationArn)
The ARN of the queue that receives the moved messages.
|
void |
setMaxNumberOfMessagesPerSecond(Integer maxNumberOfMessagesPerSecond)
The number of messages to be moved per second (the message movement rate).
|
void |
setSourceArn(String sourceArn)
The ARN of the queue that contains the messages to be moved to another queue.
|
String |
toString()
Returns a string representation of this object.
|
StartMessageMoveTaskRequest |
withDestinationArn(String destinationArn)
The ARN of the queue that receives the moved messages.
|
StartMessageMoveTaskRequest |
withMaxNumberOfMessagesPerSecond(Integer maxNumberOfMessagesPerSecond)
The number of messages to be moved per second (the message movement rate).
|
StartMessageMoveTaskRequest |
withSourceArn(String sourceArn)
The ARN of the queue that contains the messages to be moved to another queue.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSourceArn(String sourceArn)
The ARN of the queue that contains the messages to be moved to another queue. Currently, only ARNs of dead-letter queues (DLQs) whose sources are other Amazon SQS queues are accepted. DLQs whose sources are non-SQS queues, such as Lambda or Amazon SNS topics, are not currently supported.
sourceArn
- The ARN of the queue that contains the messages to be moved to another queue. Currently, only ARNs of
dead-letter queues (DLQs) whose sources are other Amazon SQS queues are accepted. DLQs whose sources are
non-SQS queues, such as Lambda or Amazon SNS topics, are not currently supported.public String getSourceArn()
The ARN of the queue that contains the messages to be moved to another queue. Currently, only ARNs of dead-letter queues (DLQs) whose sources are other Amazon SQS queues are accepted. DLQs whose sources are non-SQS queues, such as Lambda or Amazon SNS topics, are not currently supported.
public StartMessageMoveTaskRequest withSourceArn(String sourceArn)
The ARN of the queue that contains the messages to be moved to another queue. Currently, only ARNs of dead-letter queues (DLQs) whose sources are other Amazon SQS queues are accepted. DLQs whose sources are non-SQS queues, such as Lambda or Amazon SNS topics, are not currently supported.
sourceArn
- The ARN of the queue that contains the messages to be moved to another queue. Currently, only ARNs of
dead-letter queues (DLQs) whose sources are other Amazon SQS queues are accepted. DLQs whose sources are
non-SQS queues, such as Lambda or Amazon SNS topics, are not currently supported.public void setDestinationArn(String destinationArn)
The ARN of the queue that receives the moved messages. You can use this field to specify the destination queue where you would like to redrive messages. If this field is left blank, the messages will be redriven back to their respective original source queues.
destinationArn
- The ARN of the queue that receives the moved messages. You can use this field to specify the destination
queue where you would like to redrive messages. If this field is left blank, the messages will be redriven
back to their respective original source queues.public String getDestinationArn()
The ARN of the queue that receives the moved messages. You can use this field to specify the destination queue where you would like to redrive messages. If this field is left blank, the messages will be redriven back to their respective original source queues.
public StartMessageMoveTaskRequest withDestinationArn(String destinationArn)
The ARN of the queue that receives the moved messages. You can use this field to specify the destination queue where you would like to redrive messages. If this field is left blank, the messages will be redriven back to their respective original source queues.
destinationArn
- The ARN of the queue that receives the moved messages. You can use this field to specify the destination
queue where you would like to redrive messages. If this field is left blank, the messages will be redriven
back to their respective original source queues.public void setMaxNumberOfMessagesPerSecond(Integer maxNumberOfMessagesPerSecond)
The number of messages to be moved per second (the message movement rate). You can use this field to define a fixed message movement rate. The maximum value for messages per second is 500. If this field is left blank, the system will optimize the rate based on the queue message backlog size, which may vary throughout the duration of the message movement task.
maxNumberOfMessagesPerSecond
- The number of messages to be moved per second (the message movement rate). You can use this field to
define a fixed message movement rate. The maximum value for messages per second is 500. If this field is
left blank, the system will optimize the rate based on the queue message backlog size, which may vary
throughout the duration of the message movement task.public Integer getMaxNumberOfMessagesPerSecond()
The number of messages to be moved per second (the message movement rate). You can use this field to define a fixed message movement rate. The maximum value for messages per second is 500. If this field is left blank, the system will optimize the rate based on the queue message backlog size, which may vary throughout the duration of the message movement task.
public StartMessageMoveTaskRequest withMaxNumberOfMessagesPerSecond(Integer maxNumberOfMessagesPerSecond)
The number of messages to be moved per second (the message movement rate). You can use this field to define a fixed message movement rate. The maximum value for messages per second is 500. If this field is left blank, the system will optimize the rate based on the queue message backlog size, which may vary throughout the duration of the message movement task.
maxNumberOfMessagesPerSecond
- The number of messages to be moved per second (the message movement rate). You can use this field to
define a fixed message movement rate. The maximum value for messages per second is 500. If this field is
left blank, the system will optimize the rate based on the queue message backlog size, which may vary
throughout the duration of the message movement task.public String toString()
toString
in class Object
Object.toString()
public StartMessageMoveTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()