#[non_exhaustive]pub struct StartCapacityTaskInput {
pub outpost_identifier: Option<String>,
pub order_id: Option<String>,
pub instance_pools: Option<Vec<InstanceTypeCapacity>>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.outpost_identifier: Option<String>
The ID or ARN of the Outposts associated with the specified capacity task.
order_id: Option<String>
The ID of the Amazon Web Services Outposts order associated with the specified capacity task.
instance_pools: Option<Vec<InstanceTypeCapacity>>
The instance pools specified in the capacity task.
dry_run: Option<bool>
You can request a dry run to determine if the instance type and instance size changes is above or below available instance capacity. Requesting a dry run does not make any changes to your plan.
Implementations§
source§impl StartCapacityTaskInput
impl StartCapacityTaskInput
sourcepub fn outpost_identifier(&self) -> Option<&str>
pub fn outpost_identifier(&self) -> Option<&str>
The ID or ARN of the Outposts associated with the specified capacity task.
sourcepub fn order_id(&self) -> Option<&str>
pub fn order_id(&self) -> Option<&str>
The ID of the Amazon Web Services Outposts order associated with the specified capacity task.
sourcepub fn instance_pools(&self) -> &[InstanceTypeCapacity]
pub fn instance_pools(&self) -> &[InstanceTypeCapacity]
The instance pools specified in the capacity task.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_pools.is_none()
.
source§impl StartCapacityTaskInput
impl StartCapacityTaskInput
sourcepub fn builder() -> StartCapacityTaskInputBuilder
pub fn builder() -> StartCapacityTaskInputBuilder
Creates a new builder-style object to manufacture StartCapacityTaskInput
.
Trait Implementations§
source§impl Clone for StartCapacityTaskInput
impl Clone for StartCapacityTaskInput
source§fn clone(&self) -> StartCapacityTaskInput
fn clone(&self) -> StartCapacityTaskInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartCapacityTaskInput
impl Debug for StartCapacityTaskInput
source§impl PartialEq for StartCapacityTaskInput
impl PartialEq for StartCapacityTaskInput
impl StructuralPartialEq for StartCapacityTaskInput
Auto Trait Implementations§
impl Freeze for StartCapacityTaskInput
impl RefUnwindSafe for StartCapacityTaskInput
impl Send for StartCapacityTaskInput
impl Sync for StartCapacityTaskInput
impl Unpin for StartCapacityTaskInput
impl UnwindSafe for StartCapacityTaskInput
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