Struct aws_sdk_ec2::output::create_fleet_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateFleetOutput
.
Implementations§
source§impl Builder
impl Builder
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
.