#[non_exhaustive]pub struct ListMessageMoveTasksResultEntryBuilder { /* private fields */ }
Expand description
A builder for ListMessageMoveTasksResultEntry
.
Implementations§
source§impl ListMessageMoveTasksResultEntryBuilder
impl ListMessageMoveTasksResultEntryBuilder
sourcepub fn task_handle(self, input: impl Into<String>) -> Self
pub fn task_handle(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_task_handle(self, input: Option<String>) -> Self
pub fn set_task_handle(self, input: Option<String>) -> Self
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.
sourcepub fn get_task_handle(&self) -> &Option<String>
pub fn get_task_handle(&self) -> &Option<String>
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.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The status of the message movement task. Possible values are: RUNNING, COMPLETED, CANCELLING, CANCELLED, and FAILED.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The ARN of the queue that contains the messages to be moved to another queue.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The ARN of the queue that contains the messages to be moved to another queue.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
The ARN of the queue that contains the messages to be moved to another queue.
sourcepub fn destination_arn(self, input: impl Into<String>) -> Self
pub fn destination_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_destination_arn(self, input: Option<String>) -> Self
pub fn set_destination_arn(self, input: Option<String>) -> Self
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.
sourcepub fn get_destination_arn(&self) -> &Option<String>
pub fn get_destination_arn(&self) -> &Option<String>
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.
sourcepub fn max_number_of_messages_per_second(self, input: i32) -> Self
pub fn max_number_of_messages_per_second(self, input: i32) -> Self
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.
sourcepub fn set_max_number_of_messages_per_second(self, input: Option<i32>) -> Self
pub fn set_max_number_of_messages_per_second(self, input: Option<i32>) -> Self
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.
sourcepub fn get_max_number_of_messages_per_second(&self) -> &Option<i32>
pub fn get_max_number_of_messages_per_second(&self) -> &Option<i32>
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.
sourcepub fn approximate_number_of_messages_moved(self, input: i64) -> Self
pub fn approximate_number_of_messages_moved(self, input: i64) -> Self
The approximate number of messages already moved to the destination queue.
sourcepub fn set_approximate_number_of_messages_moved(
self,
input: Option<i64>
) -> Self
pub fn set_approximate_number_of_messages_moved( self, input: Option<i64> ) -> Self
The approximate number of messages already moved to the destination queue.
sourcepub fn get_approximate_number_of_messages_moved(&self) -> &Option<i64>
pub fn get_approximate_number_of_messages_moved(&self) -> &Option<i64>
The approximate number of messages already moved to the destination queue.
sourcepub fn approximate_number_of_messages_to_move(self, input: i64) -> Self
pub fn approximate_number_of_messages_to_move(self, input: i64) -> Self
The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task.
sourcepub fn set_approximate_number_of_messages_to_move(
self,
input: Option<i64>
) -> Self
pub fn set_approximate_number_of_messages_to_move( self, input: Option<i64> ) -> Self
The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task.
sourcepub fn get_approximate_number_of_messages_to_move(&self) -> &Option<i64>
pub fn get_approximate_number_of_messages_to_move(&self) -> &Option<i64>
The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The task failure reason (only included if the task status is FAILED).
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The task failure reason (only included if the task status is FAILED).
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
The task failure reason (only included if the task status is FAILED).
sourcepub fn started_timestamp(self, input: i64) -> Self
pub fn started_timestamp(self, input: i64) -> Self
The timestamp of starting the message movement task.
sourcepub fn set_started_timestamp(self, input: Option<i64>) -> Self
pub fn set_started_timestamp(self, input: Option<i64>) -> Self
The timestamp of starting the message movement task.
sourcepub fn get_started_timestamp(&self) -> &Option<i64>
pub fn get_started_timestamp(&self) -> &Option<i64>
The timestamp of starting the message movement task.
sourcepub fn build(self) -> ListMessageMoveTasksResultEntry
pub fn build(self) -> ListMessageMoveTasksResultEntry
Consumes the builder and constructs a ListMessageMoveTasksResultEntry
.
Trait Implementations§
source§impl Clone for ListMessageMoveTasksResultEntryBuilder
impl Clone for ListMessageMoveTasksResultEntryBuilder
source§fn clone(&self) -> ListMessageMoveTasksResultEntryBuilder
fn clone(&self) -> ListMessageMoveTasksResultEntryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListMessageMoveTasksResultEntryBuilder
impl Default for ListMessageMoveTasksResultEntryBuilder
source§fn default() -> ListMessageMoveTasksResultEntryBuilder
fn default() -> ListMessageMoveTasksResultEntryBuilder
source§impl PartialEq for ListMessageMoveTasksResultEntryBuilder
impl PartialEq for ListMessageMoveTasksResultEntryBuilder
source§fn eq(&self, other: &ListMessageMoveTasksResultEntryBuilder) -> bool
fn eq(&self, other: &ListMessageMoveTasksResultEntryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.