Struct aws_sdk_securityhub::types::builders::AwsAutoScalingLaunchConfigurationDetailsBuilder
source · #[non_exhaustive]pub struct AwsAutoScalingLaunchConfigurationDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsAutoScalingLaunchConfigurationDetails
.
Implementations§
source§impl AwsAutoScalingLaunchConfigurationDetailsBuilder
impl AwsAutoScalingLaunchConfigurationDetailsBuilder
sourcepub fn associate_public_ip_address(self, input: bool) -> Self
pub fn associate_public_ip_address(self, input: bool) -> Self
For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.
sourcepub fn set_associate_public_ip_address(self, input: Option<bool>) -> Self
pub fn set_associate_public_ip_address(self, input: Option<bool>) -> Self
For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.
sourcepub fn get_associate_public_ip_address(&self) -> &Option<bool>
pub fn get_associate_public_ip_address(&self) -> &Option<bool>
For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.
sourcepub fn block_device_mappings(
self,
input: AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails
) -> Self
pub fn block_device_mappings( self, input: AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails ) -> Self
Appends an item to block_device_mappings
.
To override the contents of this collection use set_block_device_mappings
.
Specifies the block devices for the instance.
sourcepub fn set_block_device_mappings(
self,
input: Option<Vec<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>>
) -> Self
pub fn set_block_device_mappings( self, input: Option<Vec<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>> ) -> Self
Specifies the block devices for the instance.
sourcepub fn get_block_device_mappings(
&self
) -> &Option<Vec<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>>
pub fn get_block_device_mappings( &self ) -> &Option<Vec<AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails>>
Specifies the block devices for the instance.
sourcepub fn classic_link_vpc_id(self, input: impl Into<String>) -> Self
pub fn classic_link_vpc_id(self, input: impl Into<String>) -> Self
The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.
sourcepub fn set_classic_link_vpc_id(self, input: Option<String>) -> Self
pub fn set_classic_link_vpc_id(self, input: Option<String>) -> Self
The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.
sourcepub fn get_classic_link_vpc_id(&self) -> &Option<String>
pub fn get_classic_link_vpc_id(&self) -> &Option<String>
The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.
sourcepub fn classic_link_vpc_security_groups(self, input: impl Into<String>) -> Self
pub fn classic_link_vpc_security_groups(self, input: impl Into<String>) -> Self
Appends an item to classic_link_vpc_security_groups
.
To override the contents of this collection use set_classic_link_vpc_security_groups
.
The identifiers of one or more security groups for the VPC that is specified in ClassicLinkVPCId
.
sourcepub fn set_classic_link_vpc_security_groups(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_classic_link_vpc_security_groups( self, input: Option<Vec<String>> ) -> Self
The identifiers of one or more security groups for the VPC that is specified in ClassicLinkVPCId
.
sourcepub fn get_classic_link_vpc_security_groups(&self) -> &Option<Vec<String>>
pub fn get_classic_link_vpc_security_groups(&self) -> &Option<Vec<String>>
The identifiers of one or more security groups for the VPC that is specified in ClassicLinkVPCId
.
sourcepub fn created_time(self, input: impl Into<String>) -> Self
pub fn created_time(self, input: impl Into<String>) -> Self
The creation date and time for the launch configuration.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_created_time(self, input: Option<String>) -> Self
pub fn set_created_time(self, input: Option<String>) -> Self
The creation date and time for the launch configuration.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn get_created_time(&self) -> &Option<String>
pub fn get_created_time(&self) -> &Option<String>
The creation date and time for the launch configuration.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn ebs_optimized(self, input: bool) -> Self
pub fn ebs_optimized(self, input: bool) -> Self
Whether the launch configuration is optimized for Amazon EBS I/O.
sourcepub fn set_ebs_optimized(self, input: Option<bool>) -> Self
pub fn set_ebs_optimized(self, input: Option<bool>) -> Self
Whether the launch configuration is optimized for Amazon EBS I/O.
sourcepub fn get_ebs_optimized(&self) -> &Option<bool>
pub fn get_ebs_optimized(&self) -> &Option<bool>
Whether the launch configuration is optimized for Amazon EBS I/O.
sourcepub fn iam_instance_profile(self, input: impl Into<String>) -> Self
pub fn iam_instance_profile(self, input: impl Into<String>) -> Self
The name or the ARN of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.
sourcepub fn set_iam_instance_profile(self, input: Option<String>) -> Self
pub fn set_iam_instance_profile(self, input: Option<String>) -> Self
The name or the ARN of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.
sourcepub fn get_iam_instance_profile(&self) -> &Option<String>
pub fn get_iam_instance_profile(&self) -> &Option<String>
The name or the ARN of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.
sourcepub fn image_id(self, input: impl Into<String>) -> Self
pub fn image_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.
sourcepub fn set_image_id(self, input: Option<String>) -> Self
pub fn set_image_id(self, input: Option<String>) -> Self
The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.
sourcepub fn get_image_id(&self) -> &Option<String>
pub fn get_image_id(&self) -> &Option<String>
The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.
sourcepub fn instance_monitoring(
self,
input: AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
) -> Self
pub fn instance_monitoring( self, input: AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails ) -> Self
Indicates the type of monitoring for instances in the group.
sourcepub fn set_instance_monitoring(
self,
input: Option<AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails>
) -> Self
pub fn set_instance_monitoring( self, input: Option<AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails> ) -> Self
Indicates the type of monitoring for instances in the group.
sourcepub fn get_instance_monitoring(
&self
) -> &Option<AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails>
pub fn get_instance_monitoring( &self ) -> &Option<AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails>
Indicates the type of monitoring for instances in the group.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type for the instances.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type for the instances.
sourcepub fn get_instance_type(&self) -> &Option<String>
pub fn get_instance_type(&self) -> &Option<String>
The instance type for the instances.
sourcepub fn kernel_id(self, input: impl Into<String>) -> Self
pub fn kernel_id(self, input: impl Into<String>) -> Self
The identifier of the kernel associated with the AMI.
sourcepub fn set_kernel_id(self, input: Option<String>) -> Self
pub fn set_kernel_id(self, input: Option<String>) -> Self
The identifier of the kernel associated with the AMI.
sourcepub fn get_kernel_id(&self) -> &Option<String>
pub fn get_kernel_id(&self) -> &Option<String>
The identifier of the kernel associated with the AMI.
sourcepub fn set_key_name(self, input: Option<String>) -> Self
pub fn set_key_name(self, input: Option<String>) -> Self
The name of the key pair.
sourcepub fn get_key_name(&self) -> &Option<String>
pub fn get_key_name(&self) -> &Option<String>
The name of the key pair.
sourcepub fn launch_configuration_name(self, input: impl Into<String>) -> Self
pub fn launch_configuration_name(self, input: impl Into<String>) -> Self
The name of the launch configuration.
sourcepub fn set_launch_configuration_name(self, input: Option<String>) -> Self
pub fn set_launch_configuration_name(self, input: Option<String>) -> Self
The name of the launch configuration.
sourcepub fn get_launch_configuration_name(&self) -> &Option<String>
pub fn get_launch_configuration_name(&self) -> &Option<String>
The name of the launch configuration.
sourcepub fn placement_tenancy(self, input: impl Into<String>) -> Self
pub fn placement_tenancy(self, input: impl Into<String>) -> Self
The tenancy of the instance. An instance with dedicated
tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.
sourcepub fn set_placement_tenancy(self, input: Option<String>) -> Self
pub fn set_placement_tenancy(self, input: Option<String>) -> Self
The tenancy of the instance. An instance with dedicated
tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.
sourcepub fn get_placement_tenancy(&self) -> &Option<String>
pub fn get_placement_tenancy(&self) -> &Option<String>
The tenancy of the instance. An instance with dedicated
tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.
sourcepub fn ramdisk_id(self, input: impl Into<String>) -> Self
pub fn ramdisk_id(self, input: impl Into<String>) -> Self
The identifier of the RAM disk associated with the AMI.
sourcepub fn set_ramdisk_id(self, input: Option<String>) -> Self
pub fn set_ramdisk_id(self, input: Option<String>) -> Self
The identifier of the RAM disk associated with the AMI.
sourcepub fn get_ramdisk_id(&self) -> &Option<String>
pub fn get_ramdisk_id(&self) -> &Option<String>
The identifier of the RAM disk associated with the AMI.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
The security groups to assign to the instances in the Auto Scaling group.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
The security groups to assign to the instances in the Auto Scaling group.
sourcepub fn get_security_groups(&self) -> &Option<Vec<String>>
pub fn get_security_groups(&self) -> &Option<Vec<String>>
The security groups to assign to the instances in the Auto Scaling group.
sourcepub fn spot_price(self, input: impl Into<String>) -> Self
pub fn spot_price(self, input: impl Into<String>) -> Self
The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.
sourcepub fn set_spot_price(self, input: Option<String>) -> Self
pub fn set_spot_price(self, input: Option<String>) -> Self
The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.
sourcepub fn get_spot_price(&self) -> &Option<String>
pub fn get_spot_price(&self) -> &Option<String>
The maximum hourly price to be paid for any Spot Instance that is launched to fulfill the request.
sourcepub fn user_data(self, input: impl Into<String>) -> Self
pub fn user_data(self, input: impl Into<String>) -> Self
The user data to make available to the launched EC2 instances. Must be base64-encoded text.
sourcepub fn set_user_data(self, input: Option<String>) -> Self
pub fn set_user_data(self, input: Option<String>) -> Self
The user data to make available to the launched EC2 instances. Must be base64-encoded text.
sourcepub fn get_user_data(&self) -> &Option<String>
pub fn get_user_data(&self) -> &Option<String>
The user data to make available to the launched EC2 instances. Must be base64-encoded text.
sourcepub fn metadata_options(
self,
input: AwsAutoScalingLaunchConfigurationMetadataOptions
) -> Self
pub fn metadata_options( self, input: AwsAutoScalingLaunchConfigurationMetadataOptions ) -> Self
The metadata options for the instances.
sourcepub fn set_metadata_options(
self,
input: Option<AwsAutoScalingLaunchConfigurationMetadataOptions>
) -> Self
pub fn set_metadata_options( self, input: Option<AwsAutoScalingLaunchConfigurationMetadataOptions> ) -> Self
The metadata options for the instances.
sourcepub fn get_metadata_options(
&self
) -> &Option<AwsAutoScalingLaunchConfigurationMetadataOptions>
pub fn get_metadata_options( &self ) -> &Option<AwsAutoScalingLaunchConfigurationMetadataOptions>
The metadata options for the instances.
sourcepub fn build(self) -> AwsAutoScalingLaunchConfigurationDetails
pub fn build(self) -> AwsAutoScalingLaunchConfigurationDetails
Consumes the builder and constructs a AwsAutoScalingLaunchConfigurationDetails
.
Trait Implementations§
source§impl Clone for AwsAutoScalingLaunchConfigurationDetailsBuilder
impl Clone for AwsAutoScalingLaunchConfigurationDetailsBuilder
source§fn clone(&self) -> AwsAutoScalingLaunchConfigurationDetailsBuilder
fn clone(&self) -> AwsAutoScalingLaunchConfigurationDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsAutoScalingLaunchConfigurationDetailsBuilder
impl Default for AwsAutoScalingLaunchConfigurationDetailsBuilder
source§fn default() -> AwsAutoScalingLaunchConfigurationDetailsBuilder
fn default() -> AwsAutoScalingLaunchConfigurationDetailsBuilder
source§impl PartialEq for AwsAutoScalingLaunchConfigurationDetailsBuilder
impl PartialEq for AwsAutoScalingLaunchConfigurationDetailsBuilder
source§fn eq(&self, other: &AwsAutoScalingLaunchConfigurationDetailsBuilder) -> bool
fn eq(&self, other: &AwsAutoScalingLaunchConfigurationDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.