Struct aws_sdk_ec2::types::builders::BundleTaskBuilder   
source · #[non_exhaustive]pub struct BundleTaskBuilder { /* private fields */ }Expand description
A builder for BundleTask.
Implementations§
source§impl BundleTaskBuilder
 
impl BundleTaskBuilder
sourcepub fn set_bundle_id(self, input: Option<String>) -> Self
 
pub fn set_bundle_id(self, input: Option<String>) -> Self
The ID of the bundle task.
sourcepub fn get_bundle_id(&self) -> &Option<String>
 
pub fn get_bundle_id(&self) -> &Option<String>
The ID of the bundle task.
sourcepub fn bundle_task_error(self, input: BundleTaskError) -> Self
 
pub fn bundle_task_error(self, input: BundleTaskError) -> Self
If the task fails, a description of the error.
sourcepub fn set_bundle_task_error(self, input: Option<BundleTaskError>) -> Self
 
pub fn set_bundle_task_error(self, input: Option<BundleTaskError>) -> Self
If the task fails, a description of the error.
sourcepub fn get_bundle_task_error(&self) -> &Option<BundleTaskError>
 
pub fn get_bundle_task_error(&self) -> &Option<BundleTaskError>
If the task fails, a description of the error.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
 
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance associated with this bundle task.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
 
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance associated with this bundle task.
sourcepub fn get_instance_id(&self) -> &Option<String>
 
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance associated with this bundle task.
sourcepub fn progress(self, input: impl Into<String>) -> Self
 
pub fn progress(self, input: impl Into<String>) -> Self
The level of task completion, as a percent (for example, 20%).
sourcepub fn set_progress(self, input: Option<String>) -> Self
 
pub fn set_progress(self, input: Option<String>) -> Self
The level of task completion, as a percent (for example, 20%).
sourcepub fn get_progress(&self) -> &Option<String>
 
pub fn get_progress(&self) -> &Option<String>
The level of task completion, as a percent (for example, 20%).
sourcepub fn start_time(self, input: DateTime) -> Self
 
pub fn start_time(self, input: DateTime) -> Self
The time this task started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
 
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time this task started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
 
pub fn get_start_time(&self) -> &Option<DateTime>
The time this task started.
sourcepub fn state(self, input: BundleTaskState) -> Self
 
pub fn state(self, input: BundleTaskState) -> Self
The state of the task.
sourcepub fn set_state(self, input: Option<BundleTaskState>) -> Self
 
pub fn set_state(self, input: Option<BundleTaskState>) -> Self
The state of the task.
sourcepub fn get_state(&self) -> &Option<BundleTaskState>
 
pub fn get_state(&self) -> &Option<BundleTaskState>
The state of the task.
sourcepub fn set_storage(self, input: Option<Storage>) -> Self
 
pub fn set_storage(self, input: Option<Storage>) -> Self
The Amazon S3 storage locations.
sourcepub fn get_storage(&self) -> &Option<Storage>
 
pub fn get_storage(&self) -> &Option<Storage>
The Amazon S3 storage locations.
sourcepub fn update_time(self, input: DateTime) -> Self
 
pub fn update_time(self, input: DateTime) -> Self
The time of the most recent update for the task.
sourcepub fn set_update_time(self, input: Option<DateTime>) -> Self
 
pub fn set_update_time(self, input: Option<DateTime>) -> Self
The time of the most recent update for the task.
sourcepub fn get_update_time(&self) -> &Option<DateTime>
 
pub fn get_update_time(&self) -> &Option<DateTime>
The time of the most recent update for the task.
sourcepub fn build(self) -> BundleTask
 
pub fn build(self) -> BundleTask
Consumes the builder and constructs a BundleTask.
Trait Implementations§
source§impl Clone for BundleTaskBuilder
 
impl Clone for BundleTaskBuilder
source§fn clone(&self) -> BundleTaskBuilder
 
fn clone(&self) -> BundleTaskBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BundleTaskBuilder
 
impl Debug for BundleTaskBuilder
source§impl Default for BundleTaskBuilder
 
impl Default for BundleTaskBuilder
source§fn default() -> BundleTaskBuilder
 
fn default() -> BundleTaskBuilder
source§impl PartialEq for BundleTaskBuilder
 
impl PartialEq for BundleTaskBuilder
source§fn eq(&self, other: &BundleTaskBuilder) -> bool
 
fn eq(&self, other: &BundleTaskBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BundleTaskBuilder
Auto Trait Implementations§
impl Freeze for BundleTaskBuilder
impl RefUnwindSafe for BundleTaskBuilder
impl Send for BundleTaskBuilder
impl Sync for BundleTaskBuilder
impl Unpin for BundleTaskBuilder
impl UnwindSafe for BundleTaskBuilder
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