pub struct Builder { /* private fields */ }
Expand description
A builder for ImportInstanceLaunchSpecification
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn additional_info(self, input: impl Into<String>) -> Self
pub fn additional_info(self, input: impl Into<String>) -> Self
Reserved.
sourcepub fn set_additional_info(self, input: Option<String>) -> Self
pub fn set_additional_info(self, input: Option<String>) -> Self
Reserved.
sourcepub fn architecture(self, input: ArchitectureValues) -> Self
pub fn architecture(self, input: ArchitectureValues) -> Self
The architecture of the instance.
sourcepub fn set_architecture(self, input: Option<ArchitectureValues>) -> Self
pub fn set_architecture(self, input: Option<ArchitectureValues>) -> Self
The architecture of the instance.
sourcepub fn group_ids(self, input: impl Into<String>) -> Self
pub fn group_ids(self, input: impl Into<String>) -> Self
Appends an item to group_ids
.
To override the contents of this collection use set_group_ids
.
The security group IDs.
sourcepub fn set_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_group_ids(self, input: Option<Vec<String>>) -> Self
The security group IDs.
sourcepub fn group_names(self, input: impl Into<String>) -> Self
pub fn group_names(self, input: impl Into<String>) -> Self
Appends an item to group_names
.
To override the contents of this collection use set_group_names
.
The security group names.
sourcepub fn set_group_names(self, input: Option<Vec<String>>) -> Self
pub fn set_group_names(self, input: Option<Vec<String>>) -> Self
The security group names.
sourcepub fn instance_initiated_shutdown_behavior(
self,
input: ShutdownBehavior
) -> Self
pub fn instance_initiated_shutdown_behavior(
self,
input: ShutdownBehavior
) -> Self
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
sourcepub fn set_instance_initiated_shutdown_behavior(
self,
input: Option<ShutdownBehavior>
) -> Self
pub fn set_instance_initiated_shutdown_behavior(
self,
input: Option<ShutdownBehavior>
) -> Self
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
sourcepub fn instance_type(self, input: InstanceType) -> Self
pub fn instance_type(self, input: InstanceType) -> Self
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
sourcepub fn set_instance_type(self, input: Option<InstanceType>) -> Self
pub fn set_instance_type(self, input: Option<InstanceType>) -> Self
The instance type. For more information about the instance types that you can import, see Instance Types in the VM Import/Export User Guide.
sourcepub fn monitoring(self, input: bool) -> Self
pub fn monitoring(self, input: bool) -> Self
Indicates whether monitoring is enabled.
sourcepub fn set_monitoring(self, input: Option<bool>) -> Self
pub fn set_monitoring(self, input: Option<bool>) -> Self
Indicates whether monitoring is enabled.
sourcepub fn set_placement(self, input: Option<Placement>) -> Self
pub fn set_placement(self, input: Option<Placement>) -> Self
The placement information for the instance.
sourcepub fn private_ip_address(self, input: impl Into<String>) -> Self
pub fn private_ip_address(self, input: impl Into<String>) -> Self
[EC2-VPC] An available IP address from the IP address range of the subnet.
sourcepub fn set_private_ip_address(self, input: Option<String>) -> Self
pub fn set_private_ip_address(self, input: Option<String>) -> Self
[EC2-VPC] An available IP address from the IP address range of the subnet.
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
[EC2-VPC] The ID of the subnet in which to launch the instance.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
[EC2-VPC] The ID of the subnet in which to launch the instance.
sourcepub fn user_data(self, input: UserData) -> Self
pub fn user_data(self, input: UserData) -> Self
The Base64-encoded user data to make available to the instance.
sourcepub fn set_user_data(self, input: Option<UserData>) -> Self
pub fn set_user_data(self, input: Option<UserData>) -> Self
The Base64-encoded user data to make available to the instance.
sourcepub fn build(self) -> ImportInstanceLaunchSpecification
pub fn build(self) -> ImportInstanceLaunchSpecification
Consumes the builder and constructs a ImportInstanceLaunchSpecification
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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