#[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 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 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 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
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 Debug for CreateFleetOutputBuilder
impl Debug for CreateFleetOutputBuilder
source§impl Default for CreateFleetOutputBuilder
impl Default for CreateFleetOutputBuilder
source§fn default() -> CreateFleetOutputBuilder
fn default() -> CreateFleetOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateFleetOutputBuilder> for CreateFleetOutputBuilder
impl PartialEq<CreateFleetOutputBuilder> for CreateFleetOutputBuilder
source§fn eq(&self, other: &CreateFleetOutputBuilder) -> bool
fn eq(&self, other: &CreateFleetOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.