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. TheDataRepositoryTaskFailureDetailsproperty 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. TheDataRepositoryTaskFailureDetailsproperty 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. TheDataRepositoryTaskFailureDetailsproperty 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 ==.