#[non_exhaustive]pub struct CapacityTaskSummaryBuilder { /* private fields */ }
Expand description
A builder for CapacityTaskSummary
.
Implementations§
source§impl CapacityTaskSummaryBuilder
impl CapacityTaskSummaryBuilder
sourcepub fn capacity_task_id(self, input: impl Into<String>) -> Self
pub fn capacity_task_id(self, input: impl Into<String>) -> Self
The ID of the specified capacity task.
sourcepub fn set_capacity_task_id(self, input: Option<String>) -> Self
pub fn set_capacity_task_id(self, input: Option<String>) -> Self
The ID of the specified capacity task.
sourcepub fn get_capacity_task_id(&self) -> &Option<String>
pub fn get_capacity_task_id(&self) -> &Option<String>
The ID of the specified capacity task.
sourcepub fn outpost_id(self, input: impl Into<String>) -> Self
pub fn outpost_id(self, input: impl Into<String>) -> Self
The ID of the Outpost associated with the specified capacity task.
sourcepub fn set_outpost_id(self, input: Option<String>) -> Self
pub fn set_outpost_id(self, input: Option<String>) -> Self
The ID of the Outpost associated with the specified capacity task.
sourcepub fn get_outpost_id(&self) -> &Option<String>
pub fn get_outpost_id(&self) -> &Option<String>
The ID of the Outpost associated with the specified capacity task.
sourcepub fn order_id(self, input: impl Into<String>) -> Self
pub fn order_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
sourcepub fn set_order_id(self, input: Option<String>) -> Self
pub fn set_order_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
sourcepub fn get_order_id(&self) -> &Option<String>
pub fn get_order_id(&self) -> &Option<String>
The ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
sourcepub fn capacity_task_status(self, input: CapacityTaskStatus) -> Self
pub fn capacity_task_status(self, input: CapacityTaskStatus) -> Self
The status of the capacity task.
sourcepub fn set_capacity_task_status(self, input: Option<CapacityTaskStatus>) -> Self
pub fn set_capacity_task_status(self, input: Option<CapacityTaskStatus>) -> Self
The status of the capacity task.
sourcepub fn get_capacity_task_status(&self) -> &Option<CapacityTaskStatus>
pub fn get_capacity_task_status(&self) -> &Option<CapacityTaskStatus>
The status of the capacity task.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date that the specified capacity task was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date that the specified capacity task was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date that the specified capacity task was created.
sourcepub fn completion_date(self, input: DateTime) -> Self
pub fn completion_date(self, input: DateTime) -> Self
The date that the specified capacity task successfully ran.
sourcepub fn set_completion_date(self, input: Option<DateTime>) -> Self
pub fn set_completion_date(self, input: Option<DateTime>) -> Self
The date that the specified capacity task successfully ran.
sourcepub fn get_completion_date(&self) -> &Option<DateTime>
pub fn get_completion_date(&self) -> &Option<DateTime>
The date that the specified capacity task successfully ran.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The date that the specified capacity was last modified.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
The date that the specified capacity was last modified.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
The date that the specified capacity was last modified.
sourcepub fn build(self) -> CapacityTaskSummary
pub fn build(self) -> CapacityTaskSummary
Consumes the builder and constructs a CapacityTaskSummary
.
Trait Implementations§
source§impl Clone for CapacityTaskSummaryBuilder
impl Clone for CapacityTaskSummaryBuilder
source§fn clone(&self) -> CapacityTaskSummaryBuilder
fn clone(&self) -> CapacityTaskSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CapacityTaskSummaryBuilder
impl Debug for CapacityTaskSummaryBuilder
source§impl Default for CapacityTaskSummaryBuilder
impl Default for CapacityTaskSummaryBuilder
source§fn default() -> CapacityTaskSummaryBuilder
fn default() -> CapacityTaskSummaryBuilder
impl StructuralPartialEq for CapacityTaskSummaryBuilder
Auto Trait Implementations§
impl Freeze for CapacityTaskSummaryBuilder
impl RefUnwindSafe for CapacityTaskSummaryBuilder
impl Send for CapacityTaskSummaryBuilder
impl Sync for CapacityTaskSummaryBuilder
impl Unpin for CapacityTaskSummaryBuilder
impl UnwindSafe for CapacityTaskSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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