Struct aws_sdk_fsx::operation::cancel_data_repository_task::builders::CancelDataRepositoryTaskOutputBuilder
source · #[non_exhaustive]pub struct CancelDataRepositoryTaskOutputBuilder { /* private fields */ }
Expand description
A builder for CancelDataRepositoryTaskOutput
.
Implementations§
source§impl CancelDataRepositoryTaskOutputBuilder
impl CancelDataRepositoryTaskOutputBuilder
sourcepub fn lifecycle(self, input: DataRepositoryTaskLifecycle) -> Self
pub fn lifecycle(self, input: DataRepositoryTaskLifecycle) -> Self
The lifecycle status of the data repository task, as follows:
-
PENDING
- Amazon FSx has not started the task. -
EXECUTING
- Amazon FSx is processing the task. -
FAILED
- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. TheDataRepositoryTaskFailureDetails
property provides more information about task failures. -
SUCCEEDED
- FSx completed the task successfully. -
CANCELED
- Amazon FSx canceled the task and it did not complete. -
CANCELING
- FSx is in process of canceling the task.
sourcepub fn set_lifecycle(self, input: Option<DataRepositoryTaskLifecycle>) -> Self
pub fn set_lifecycle(self, input: Option<DataRepositoryTaskLifecycle>) -> Self
The lifecycle status of the data repository task, as follows:
-
PENDING
- Amazon FSx has not started the task. -
EXECUTING
- Amazon FSx is processing the task. -
FAILED
- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. TheDataRepositoryTaskFailureDetails
property provides more information about task failures. -
SUCCEEDED
- FSx completed the task successfully. -
CANCELED
- Amazon FSx canceled the task and it did not complete. -
CANCELING
- FSx is in process of canceling the task.
sourcepub fn get_lifecycle(&self) -> &Option<DataRepositoryTaskLifecycle>
pub fn get_lifecycle(&self) -> &Option<DataRepositoryTaskLifecycle>
The lifecycle status of the data repository task, as follows:
-
PENDING
- Amazon FSx has not started the task. -
EXECUTING
- Amazon FSx is processing the task. -
FAILED
- Amazon FSx was not able to complete the task. For example, there may be files the task failed to process. TheDataRepositoryTaskFailureDetails
property provides more information about task failures. -
SUCCEEDED
- FSx completed the task successfully. -
CANCELED
- Amazon FSx canceled the task and it did not complete. -
CANCELING
- FSx is in process of canceling the task.
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The ID of the task being canceled.
sourcepub fn get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
The ID of the task being canceled.
sourcepub fn build(self) -> CancelDataRepositoryTaskOutput
pub fn build(self) -> CancelDataRepositoryTaskOutput
Consumes the builder and constructs a CancelDataRepositoryTaskOutput
.
Trait Implementations§
source§impl Clone for CancelDataRepositoryTaskOutputBuilder
impl Clone for CancelDataRepositoryTaskOutputBuilder
source§fn clone(&self) -> CancelDataRepositoryTaskOutputBuilder
fn clone(&self) -> CancelDataRepositoryTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CancelDataRepositoryTaskOutputBuilder
impl Default for CancelDataRepositoryTaskOutputBuilder
source§fn default() -> CancelDataRepositoryTaskOutputBuilder
fn default() -> CancelDataRepositoryTaskOutputBuilder
source§impl PartialEq for CancelDataRepositoryTaskOutputBuilder
impl PartialEq for CancelDataRepositoryTaskOutputBuilder
source§fn eq(&self, other: &CancelDataRepositoryTaskOutputBuilder) -> bool
fn eq(&self, other: &CancelDataRepositoryTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelDataRepositoryTaskOutputBuilder
Auto Trait Implementations§
impl Freeze for CancelDataRepositoryTaskOutputBuilder
impl RefUnwindSafe for CancelDataRepositoryTaskOutputBuilder
impl Send for CancelDataRepositoryTaskOutputBuilder
impl Sync for CancelDataRepositoryTaskOutputBuilder
impl Unpin for CancelDataRepositoryTaskOutputBuilder
impl UnwindSafe for CancelDataRepositoryTaskOutputBuilder
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