#[non_exhaustive]pub struct CreateFleetOutputBuilder { /* private fields */ }Expand description
A builder for CreateFleetOutput.
Implementations§
source§impl CreateFleetOutputBuilder
impl CreateFleetOutputBuilder
sourcepub fn set_fleet_id(self, input: Option<String>) -> Self
pub fn set_fleet_id(self, input: Option<String>) -> Self
The ID of the EC2 Fleet.
sourcepub fn get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
The ID of the EC2 Fleet.
sourcepub fn errors(self, input: CreateFleetError) -> Self
pub fn errors(self, input: CreateFleetError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant.
sourcepub fn set_errors(self, input: Option<Vec<CreateFleetError>>) -> Self
pub fn set_errors(self, input: Option<Vec<CreateFleetError>>) -> Self
Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant.
sourcepub fn get_errors(&self) -> &Option<Vec<CreateFleetError>>
pub fn get_errors(&self) -> &Option<Vec<CreateFleetError>>
Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant.
sourcepub fn instances(self, input: CreateFleetInstance) -> Self
pub fn instances(self, input: CreateFleetInstance) -> Self
Appends an item to instances.
To override the contents of this collection use set_instances.
Information about the instances that were launched by the fleet. Supported only for fleets of type instant.
sourcepub fn set_instances(self, input: Option<Vec<CreateFleetInstance>>) -> Self
pub fn set_instances(self, input: Option<Vec<CreateFleetInstance>>) -> Self
Information about the instances that were launched by the fleet. Supported only for fleets of type instant.
sourcepub fn get_instances(&self) -> &Option<Vec<CreateFleetInstance>>
pub fn get_instances(&self) -> &Option<Vec<CreateFleetInstance>>
Information about the instances that were launched by the fleet. Supported only for fleets of type instant.
sourcepub fn build(self) -> CreateFleetOutput
pub fn build(self) -> CreateFleetOutput
Consumes the builder and constructs a CreateFleetOutput.
Trait Implementations§
source§impl Clone for CreateFleetOutputBuilder
impl Clone for CreateFleetOutputBuilder
source§fn clone(&self) -> CreateFleetOutputBuilder
fn clone(&self) -> CreateFleetOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateFleetOutputBuilder
impl Debug for CreateFleetOutputBuilder
source§impl Default for CreateFleetOutputBuilder
impl Default for CreateFleetOutputBuilder
source§fn default() -> CreateFleetOutputBuilder
fn default() -> CreateFleetOutputBuilder
source§impl PartialEq for CreateFleetOutputBuilder
impl PartialEq for CreateFleetOutputBuilder
impl StructuralPartialEq for CreateFleetOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateFleetOutputBuilder
impl RefUnwindSafe for CreateFleetOutputBuilder
impl Send for CreateFleetOutputBuilder
impl Sync for CreateFleetOutputBuilder
impl Unpin for CreateFleetOutputBuilder
impl UnwindSafe for CreateFleetOutputBuilder
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