Struct aws_sdk_datasync::operation::update_task_execution::builders::UpdateTaskExecutionInputBuilder
source · #[non_exhaustive]pub struct UpdateTaskExecutionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateTaskExecutionInput
.
Implementations§
source§impl UpdateTaskExecutionInputBuilder
impl UpdateTaskExecutionInputBuilder
sourcepub fn task_execution_arn(self, input: impl Into<String>) -> Self
pub fn task_execution_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.
This field is required.sourcepub fn set_task_execution_arn(self, input: Option<String>) -> Self
pub fn set_task_execution_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.
sourcepub fn get_task_execution_arn(&self) -> &Option<String>
pub fn get_task_execution_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) of the task execution that you're updating.
sourcepub fn options(self, input: Options) -> Self
pub fn options(self, input: Options) -> Self
Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.
Each option has a default value. Unless you need to, you don't have to configure any option before calling StartTaskExecution.
You also can override your task options for each task execution. For example, you might want to adjust the LogLevel
for an individual execution.
sourcepub fn set_options(self, input: Option<Options>) -> Self
pub fn set_options(self, input: Option<Options>) -> Self
Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.
Each option has a default value. Unless you need to, you don't have to configure any option before calling StartTaskExecution.
You also can override your task options for each task execution. For example, you might want to adjust the LogLevel
for an individual execution.
sourcepub fn get_options(&self) -> &Option<Options>
pub fn get_options(&self) -> &Option<Options>
Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.
Each option has a default value. Unless you need to, you don't have to configure any option before calling StartTaskExecution.
You also can override your task options for each task execution. For example, you might want to adjust the LogLevel
for an individual execution.
sourcepub fn build(self) -> Result<UpdateTaskExecutionInput, BuildError>
pub fn build(self) -> Result<UpdateTaskExecutionInput, BuildError>
Consumes the builder and constructs a UpdateTaskExecutionInput
.
source§impl UpdateTaskExecutionInputBuilder
impl UpdateTaskExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateTaskExecutionOutput, SdkError<UpdateTaskExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateTaskExecutionOutput, SdkError<UpdateTaskExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTaskExecutionInputBuilder
impl Clone for UpdateTaskExecutionInputBuilder
source§fn clone(&self) -> UpdateTaskExecutionInputBuilder
fn clone(&self) -> UpdateTaskExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateTaskExecutionInputBuilder
impl Default for UpdateTaskExecutionInputBuilder
source§fn default() -> UpdateTaskExecutionInputBuilder
fn default() -> UpdateTaskExecutionInputBuilder
source§impl PartialEq for UpdateTaskExecutionInputBuilder
impl PartialEq for UpdateTaskExecutionInputBuilder
source§fn eq(&self, other: &UpdateTaskExecutionInputBuilder) -> bool
fn eq(&self, other: &UpdateTaskExecutionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateTaskExecutionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTaskExecutionInputBuilder
impl RefUnwindSafe for UpdateTaskExecutionInputBuilder
impl Send for UpdateTaskExecutionInputBuilder
impl Sync for UpdateTaskExecutionInputBuilder
impl Unpin for UpdateTaskExecutionInputBuilder
impl UnwindSafe for UpdateTaskExecutionInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more