Struct aws_sdk_ec2::input::EnableFastLaunchInput
source · [−]#[non_exhaustive]pub struct EnableFastLaunchInput { /* private fields */ }
Implementations
sourceimpl EnableFastLaunchInput
impl EnableFastLaunchInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableFastLaunch, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableFastLaunch, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<EnableFastLaunch
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EnableFastLaunchInput
.
sourceimpl EnableFastLaunchInput
impl EnableFastLaunchInput
sourcepub fn image_id(&self) -> Option<&str>
pub fn image_id(&self) -> Option<&str>
The ID of the image for which you’re enabling faster launching.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include: snapshot
, which is the default value.
sourcepub fn snapshot_configuration(
&self
) -> Option<&FastLaunchSnapshotConfigurationRequest>
pub fn snapshot_configuration(
&self
) -> Option<&FastLaunchSnapshotConfigurationRequest>
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI for faster launching. The associated ResourceType
must be snapshot
.
sourcepub fn launch_template(
&self
) -> Option<&FastLaunchLaunchTemplateSpecificationRequest>
pub fn launch_template(
&self
) -> Option<&FastLaunchLaunchTemplateSpecificationRequest>
The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.
sourcepub fn max_parallel_launches(&self) -> Option<i32>
pub fn max_parallel_launches(&self) -> Option<i32>
The maximum number of parallel instances to launch for creating resources. Value must be 6
or greater.
Trait Implementations
sourceimpl Clone for EnableFastLaunchInput
impl Clone for EnableFastLaunchInput
sourcefn clone(&self) -> EnableFastLaunchInput
fn clone(&self) -> EnableFastLaunchInput
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 more
sourceimpl Debug for EnableFastLaunchInput
impl Debug for EnableFastLaunchInput
sourceimpl PartialEq<EnableFastLaunchInput> for EnableFastLaunchInput
impl PartialEq<EnableFastLaunchInput> for EnableFastLaunchInput
sourcefn eq(&self, other: &EnableFastLaunchInput) -> bool
fn eq(&self, other: &EnableFastLaunchInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EnableFastLaunchInput) -> bool
fn ne(&self, other: &EnableFastLaunchInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for EnableFastLaunchInput
Auto Trait Implementations
impl RefUnwindSafe for EnableFastLaunchInput
impl Send for EnableFastLaunchInput
impl Sync for EnableFastLaunchInput
impl Unpin for EnableFastLaunchInput
impl UnwindSafe for EnableFastLaunchInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more