#[non_exhaustive]pub struct FastLaunchConfigurationBuilder { /* private fields */ }
Expand description
A builder for FastLaunchConfiguration
.
Implementations§
source§impl FastLaunchConfigurationBuilder
impl FastLaunchConfigurationBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to start using Windows faster launching, or false
to stop using it.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to start using Windows faster launching, or false
to stop using it.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
A Boolean that represents the current state of faster launching for the Windows AMI. Set to true
to start using Windows faster launching, or false
to stop using it.
sourcepub fn snapshot_configuration(
self,
input: FastLaunchSnapshotConfiguration
) -> Self
pub fn snapshot_configuration( self, input: FastLaunchSnapshotConfiguration ) -> Self
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
sourcepub fn set_snapshot_configuration(
self,
input: Option<FastLaunchSnapshotConfiguration>
) -> Self
pub fn set_snapshot_configuration( self, input: Option<FastLaunchSnapshotConfiguration> ) -> Self
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
sourcepub fn get_snapshot_configuration(
&self
) -> &Option<FastLaunchSnapshotConfiguration>
pub fn get_snapshot_configuration( &self ) -> &Option<FastLaunchSnapshotConfiguration>
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
sourcepub fn max_parallel_launches(self, input: i32) -> Self
pub fn max_parallel_launches(self, input: i32) -> Self
The maximum number of parallel instances that are launched for creating resources.
sourcepub fn set_max_parallel_launches(self, input: Option<i32>) -> Self
pub fn set_max_parallel_launches(self, input: Option<i32>) -> Self
The maximum number of parallel instances that are launched for creating resources.
sourcepub fn get_max_parallel_launches(&self) -> &Option<i32>
pub fn get_max_parallel_launches(&self) -> &Option<i32>
The maximum number of parallel instances that are launched for creating resources.
sourcepub fn launch_template(
self,
input: FastLaunchLaunchTemplateSpecification
) -> Self
pub fn launch_template( self, input: FastLaunchLaunchTemplateSpecification ) -> Self
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
sourcepub fn set_launch_template(
self,
input: Option<FastLaunchLaunchTemplateSpecification>
) -> Self
pub fn set_launch_template( self, input: Option<FastLaunchLaunchTemplateSpecification> ) -> Self
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
sourcepub fn get_launch_template(
&self
) -> &Option<FastLaunchLaunchTemplateSpecification>
pub fn get_launch_template( &self ) -> &Option<FastLaunchLaunchTemplateSpecification>
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The owner account ID for the fast-launch enabled Windows AMI.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The owner account ID for the fast-launch enabled Windows AMI.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The owner account ID for the fast-launch enabled Windows AMI.
sourcepub fn build(self) -> FastLaunchConfiguration
pub fn build(self) -> FastLaunchConfiguration
Consumes the builder and constructs a FastLaunchConfiguration
.
Trait Implementations§
source§impl Clone for FastLaunchConfigurationBuilder
impl Clone for FastLaunchConfigurationBuilder
source§fn clone(&self) -> FastLaunchConfigurationBuilder
fn clone(&self) -> FastLaunchConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FastLaunchConfigurationBuilder
impl Default for FastLaunchConfigurationBuilder
source§fn default() -> FastLaunchConfigurationBuilder
fn default() -> FastLaunchConfigurationBuilder
source§impl PartialEq for FastLaunchConfigurationBuilder
impl PartialEq for FastLaunchConfigurationBuilder
source§fn eq(&self, other: &FastLaunchConfigurationBuilder) -> bool
fn eq(&self, other: &FastLaunchConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FastLaunchConfigurationBuilder
Auto Trait Implementations§
impl Freeze for FastLaunchConfigurationBuilder
impl RefUnwindSafe for FastLaunchConfigurationBuilder
impl Send for FastLaunchConfigurationBuilder
impl Sync for FastLaunchConfigurationBuilder
impl Unpin for FastLaunchConfigurationBuilder
impl UnwindSafe for FastLaunchConfigurationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more