Struct aws_sdk_ec2::model::CreateFleetInstance
source · [−]#[non_exhaustive]pub struct CreateFleetInstance { /* private fields */ }
Expand description
Describes the instances that were launched by the fleet.
Implementations
sourceimpl 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.
sourceimpl CreateFleetInstance
impl CreateFleetInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateFleetInstance
.
Trait Implementations
sourceimpl Clone for CreateFleetInstance
impl Clone for CreateFleetInstance
sourcefn clone(&self) -> CreateFleetInstance
fn clone(&self) -> CreateFleetInstance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CreateFleetInstance
impl Debug for CreateFleetInstance
sourceimpl PartialEq<CreateFleetInstance> for CreateFleetInstance
impl PartialEq<CreateFleetInstance> for CreateFleetInstance
sourcefn eq(&self, other: &CreateFleetInstance) -> bool
fn eq(&self, other: &CreateFleetInstance) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more