pub struct Builder { /* private fields */ }
Expand description
A builder for ImportInstanceLaunchSpecification
.
Implementations§
source§impl 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
.