Class StartMessageMoveTaskRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sqs.model.SqsRequest
-
- software.amazon.awssdk.services.sqs.model.StartMessageMoveTaskRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<StartMessageMoveTaskRequest.Builder,StartMessageMoveTaskRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartMessageMoveTaskRequest extends SqsRequest implements ToCopyableBuilder<StartMessageMoveTaskRequest.Builder,StartMessageMoveTaskRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StartMessageMoveTaskRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartMessageMoveTaskRequest.Builder
builder()
String
destinationArn()
The ARN of the queue that receives the moved messages.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
maxNumberOfMessagesPerSecond()
The number of messages to be moved per second (the message movement rate).List<SdkField<?>>
sdkFields()
static Class<? extends StartMessageMoveTaskRequest.Builder>
serializableBuilderClass()
String
sourceArn()
The ARN of the queue that contains the messages to be moved to another queue.StartMessageMoveTaskRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sourceArn
public final 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.
- Returns:
- 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.
-
destinationArn
public final 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.
- Returns:
- 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.
-
maxNumberOfMessagesPerSecond
public final 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.
- Returns:
- 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.
-
toBuilder
public StartMessageMoveTaskRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<StartMessageMoveTaskRequest.Builder,StartMessageMoveTaskRequest>
- Specified by:
toBuilder
in classSqsRequest
-
builder
public static StartMessageMoveTaskRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartMessageMoveTaskRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-