Struct aws_sdk_outposts::operation::start_capacity_task::builders::StartCapacityTaskOutputBuilder
source · #[non_exhaustive]pub struct StartCapacityTaskOutputBuilder { /* private fields */ }
Expand description
A builder for StartCapacityTaskOutput
.
Implementations§
source§impl StartCapacityTaskOutputBuilder
impl StartCapacityTaskOutputBuilder
sourcepub fn capacity_task_id(self, input: impl Into<String>) -> Self
pub fn capacity_task_id(self, input: impl Into<String>) -> Self
ID of the capacity task that you want to start.
sourcepub fn set_capacity_task_id(self, input: Option<String>) -> Self
pub fn set_capacity_task_id(self, input: Option<String>) -> Self
ID of the capacity task that you want to start.
sourcepub fn get_capacity_task_id(&self) -> &Option<String>
pub fn get_capacity_task_id(&self) -> &Option<String>
ID of the capacity task that you want to start.
sourcepub fn outpost_id(self, input: impl Into<String>) -> Self
pub fn outpost_id(self, input: impl Into<String>) -> Self
ID of the Outpost associated with the capacity task.
sourcepub fn set_outpost_id(self, input: Option<String>) -> Self
pub fn set_outpost_id(self, input: Option<String>) -> Self
ID of the Outpost associated with the capacity task.
sourcepub fn get_outpost_id(&self) -> &Option<String>
pub fn get_outpost_id(&self) -> &Option<String>
ID of the Outpost associated with the capacity task.
sourcepub fn order_id(self, input: impl Into<String>) -> Self
pub fn order_id(self, input: impl Into<String>) -> Self
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
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>
ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
sourcepub fn requested_instance_pools(self, input: InstanceTypeCapacity) -> Self
pub fn requested_instance_pools(self, input: InstanceTypeCapacity) -> Self
Appends an item to requested_instance_pools
.
To override the contents of this collection use set_requested_instance_pools
.
List of the instance pools requested in the specified capacity task.
sourcepub fn set_requested_instance_pools(
self,
input: Option<Vec<InstanceTypeCapacity>>
) -> Self
pub fn set_requested_instance_pools( self, input: Option<Vec<InstanceTypeCapacity>> ) -> Self
List of the instance pools requested in the specified capacity task.
sourcepub fn get_requested_instance_pools(&self) -> &Option<Vec<InstanceTypeCapacity>>
pub fn get_requested_instance_pools(&self) -> &Option<Vec<InstanceTypeCapacity>>
List of the instance pools requested in the specified capacity task.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
sourcepub fn capacity_task_status(self, input: CapacityTaskStatus) -> Self
pub fn capacity_task_status(self, input: CapacityTaskStatus) -> Self
Status of the specified capacity task.
sourcepub fn set_capacity_task_status(self, input: Option<CapacityTaskStatus>) -> Self
pub fn set_capacity_task_status(self, input: Option<CapacityTaskStatus>) -> Self
Status of the specified capacity task.
sourcepub fn get_capacity_task_status(&self) -> &Option<CapacityTaskStatus>
pub fn get_capacity_task_status(&self) -> &Option<CapacityTaskStatus>
Status of the specified capacity task.
sourcepub fn failed(self, input: CapacityTaskFailure) -> Self
pub fn failed(self, input: CapacityTaskFailure) -> Self
Reason that the specified capacity task failed.
sourcepub fn set_failed(self, input: Option<CapacityTaskFailure>) -> Self
pub fn set_failed(self, input: Option<CapacityTaskFailure>) -> Self
Reason that the specified capacity task failed.
sourcepub fn get_failed(&self) -> &Option<CapacityTaskFailure>
pub fn get_failed(&self) -> &Option<CapacityTaskFailure>
Reason that the specified capacity task failed.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
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
Date that the specified capacity task was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
Date that the specified capacity task was created.
sourcepub fn completion_date(self, input: DateTime) -> Self
pub fn completion_date(self, input: DateTime) -> Self
Date that the specified capacity task ran successfully.
sourcepub fn set_completion_date(self, input: Option<DateTime>) -> Self
pub fn set_completion_date(self, input: Option<DateTime>) -> Self
Date that the specified capacity task ran successfully.
sourcepub fn get_completion_date(&self) -> &Option<DateTime>
pub fn get_completion_date(&self) -> &Option<DateTime>
Date that the specified capacity task ran successfully.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
Date that the specified capacity task 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
Date that the specified capacity task was last modified.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
Date that the specified capacity task was last modified.
sourcepub fn build(self) -> StartCapacityTaskOutput
pub fn build(self) -> StartCapacityTaskOutput
Consumes the builder and constructs a StartCapacityTaskOutput
.
Trait Implementations§
source§impl Clone for StartCapacityTaskOutputBuilder
impl Clone for StartCapacityTaskOutputBuilder
source§fn clone(&self) -> StartCapacityTaskOutputBuilder
fn clone(&self) -> StartCapacityTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartCapacityTaskOutputBuilder
impl Default for StartCapacityTaskOutputBuilder
source§fn default() -> StartCapacityTaskOutputBuilder
fn default() -> StartCapacityTaskOutputBuilder
source§impl PartialEq for StartCapacityTaskOutputBuilder
impl PartialEq for StartCapacityTaskOutputBuilder
source§fn eq(&self, other: &StartCapacityTaskOutputBuilder) -> bool
fn eq(&self, other: &StartCapacityTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartCapacityTaskOutputBuilder
Auto Trait Implementations§
impl Freeze for StartCapacityTaskOutputBuilder
impl RefUnwindSafe for StartCapacityTaskOutputBuilder
impl Send for StartCapacityTaskOutputBuilder
impl Sync for StartCapacityTaskOutputBuilder
impl Unpin for StartCapacityTaskOutputBuilder
impl UnwindSafe for StartCapacityTaskOutputBuilder
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