Struct aws_sdk_ec2::operation::purchase_scheduled_instances::builders::PurchaseScheduledInstancesOutputBuilder
source · #[non_exhaustive]pub struct PurchaseScheduledInstancesOutputBuilder { /* private fields */ }Expand description
A builder for PurchaseScheduledInstancesOutput.
Implementations§
source§impl PurchaseScheduledInstancesOutputBuilder
impl PurchaseScheduledInstancesOutputBuilder
sourcepub fn scheduled_instance_set(self, input: ScheduledInstance) -> Self
pub fn scheduled_instance_set(self, input: ScheduledInstance) -> Self
Appends an item to scheduled_instance_set.
To override the contents of this collection use set_scheduled_instance_set.
Information about the Scheduled Instances.
sourcepub fn set_scheduled_instance_set(
self,
input: Option<Vec<ScheduledInstance>>
) -> Self
pub fn set_scheduled_instance_set( self, input: Option<Vec<ScheduledInstance>> ) -> Self
Information about the Scheduled Instances.
sourcepub fn get_scheduled_instance_set(&self) -> &Option<Vec<ScheduledInstance>>
pub fn get_scheduled_instance_set(&self) -> &Option<Vec<ScheduledInstance>>
Information about the Scheduled Instances.
sourcepub fn build(self) -> PurchaseScheduledInstancesOutput
pub fn build(self) -> PurchaseScheduledInstancesOutput
Consumes the builder and constructs a PurchaseScheduledInstancesOutput.
Trait Implementations§
source§impl Clone for PurchaseScheduledInstancesOutputBuilder
impl Clone for PurchaseScheduledInstancesOutputBuilder
source§fn clone(&self) -> PurchaseScheduledInstancesOutputBuilder
fn clone(&self) -> PurchaseScheduledInstancesOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for PurchaseScheduledInstancesOutputBuilder
impl Default for PurchaseScheduledInstancesOutputBuilder
source§fn default() -> PurchaseScheduledInstancesOutputBuilder
fn default() -> PurchaseScheduledInstancesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PurchaseScheduledInstancesOutputBuilder
impl PartialEq for PurchaseScheduledInstancesOutputBuilder
source§fn eq(&self, other: &PurchaseScheduledInstancesOutputBuilder) -> bool
fn eq(&self, other: &PurchaseScheduledInstancesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PurchaseScheduledInstancesOutputBuilder
Auto Trait Implementations§
impl Freeze for PurchaseScheduledInstancesOutputBuilder
impl RefUnwindSafe for PurchaseScheduledInstancesOutputBuilder
impl Send for PurchaseScheduledInstancesOutputBuilder
impl Sync for PurchaseScheduledInstancesOutputBuilder
impl Unpin for PurchaseScheduledInstancesOutputBuilder
impl UnwindSafe for PurchaseScheduledInstancesOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.