Struct aws_sdk_ec2::types::CreateFleetInstance
source · #[non_exhaustive]pub struct CreateFleetInstance { /* private fields */ }
Expand description
Describes the instances that were launched by the fleet.
Implementations§
source§impl CreateFleetInstance
impl CreateFleetInstance
sourcepub fn launch_template_and_overrides(
&self
) -> Option<&LaunchTemplateAndOverridesResponse>
pub fn launch_template_and_overrides( &self ) -> Option<&LaunchTemplateAndOverridesResponse>
The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
sourcepub fn lifecycle(&self) -> Option<&InstanceLifecycle>
pub fn lifecycle(&self) -> Option<&InstanceLifecycle>
Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.
sourcepub fn instance_ids(&self) -> Option<&[String]>
pub fn instance_ids(&self) -> Option<&[String]>
The IDs of the instances.
sourcepub fn instance_type(&self) -> Option<&InstanceType>
pub fn instance_type(&self) -> Option<&InstanceType>
The instance type.
sourcepub fn platform(&self) -> Option<&PlatformValues>
pub fn platform(&self) -> Option<&PlatformValues>
The value is Windows
for Windows instances. Otherwise, the value is blank.
source§impl CreateFleetInstance
impl CreateFleetInstance
sourcepub fn builder() -> CreateFleetInstanceBuilder
pub fn builder() -> CreateFleetInstanceBuilder
Creates a new builder-style object to manufacture CreateFleetInstance
.
Trait Implementations§
source§impl Clone for CreateFleetInstance
impl Clone for CreateFleetInstance
source§fn clone(&self) -> CreateFleetInstance
fn clone(&self) -> CreateFleetInstance
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 CreateFleetInstance
impl Debug for CreateFleetInstance
source§impl PartialEq<CreateFleetInstance> for CreateFleetInstance
impl PartialEq<CreateFleetInstance> for CreateFleetInstance
source§fn eq(&self, other: &CreateFleetInstance) -> bool
fn eq(&self, other: &CreateFleetInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateFleetInstance
Auto Trait Implementations§
impl RefUnwindSafe for CreateFleetInstance
impl Send for CreateFleetInstance
impl Sync for CreateFleetInstance
impl Unpin for CreateFleetInstance
impl UnwindSafe for CreateFleetInstance
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