Struct aws_sdk_ec2::operation::describe_image_attribute::builders::DescribeImageAttributeOutputBuilder
source · #[non_exhaustive]pub struct DescribeImageAttributeOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeImageAttributeOutput
.
Implementations§
source§impl DescribeImageAttributeOutputBuilder
impl DescribeImageAttributeOutputBuilder
sourcepub fn block_device_mappings(self, input: BlockDeviceMapping) -> Self
pub fn block_device_mappings(self, input: BlockDeviceMapping) -> Self
Appends an item to block_device_mappings
.
To override the contents of this collection use set_block_device_mappings
.
The block device mapping entries.
sourcepub fn set_block_device_mappings(
self,
input: Option<Vec<BlockDeviceMapping>>
) -> Self
pub fn set_block_device_mappings( self, input: Option<Vec<BlockDeviceMapping>> ) -> Self
The block device mapping entries.
sourcepub fn get_block_device_mappings(&self) -> &Option<Vec<BlockDeviceMapping>>
pub fn get_block_device_mappings(&self) -> &Option<Vec<BlockDeviceMapping>>
The block device mapping entries.
sourcepub fn set_image_id(self, input: Option<String>) -> Self
pub fn set_image_id(self, input: Option<String>) -> Self
The ID of the AMI.
sourcepub fn get_image_id(&self) -> &Option<String>
pub fn get_image_id(&self) -> &Option<String>
The ID of the AMI.
sourcepub fn launch_permissions(self, input: LaunchPermission) -> Self
pub fn launch_permissions(self, input: LaunchPermission) -> Self
Appends an item to launch_permissions
.
To override the contents of this collection use set_launch_permissions
.
The launch permissions.
sourcepub fn set_launch_permissions(
self,
input: Option<Vec<LaunchPermission>>
) -> Self
pub fn set_launch_permissions( self, input: Option<Vec<LaunchPermission>> ) -> Self
The launch permissions.
sourcepub fn get_launch_permissions(&self) -> &Option<Vec<LaunchPermission>>
pub fn get_launch_permissions(&self) -> &Option<Vec<LaunchPermission>>
The launch permissions.
sourcepub fn product_codes(self, input: ProductCode) -> Self
pub fn product_codes(self, input: ProductCode) -> Self
Appends an item to product_codes
.
To override the contents of this collection use set_product_codes
.
The product codes.
sourcepub fn set_product_codes(self, input: Option<Vec<ProductCode>>) -> Self
pub fn set_product_codes(self, input: Option<Vec<ProductCode>>) -> Self
The product codes.
sourcepub fn get_product_codes(&self) -> &Option<Vec<ProductCode>>
pub fn get_product_codes(&self) -> &Option<Vec<ProductCode>>
The product codes.
sourcepub fn description(self, input: AttributeValue) -> Self
pub fn description(self, input: AttributeValue) -> Self
A description for the AMI.
sourcepub fn set_description(self, input: Option<AttributeValue>) -> Self
pub fn set_description(self, input: Option<AttributeValue>) -> Self
A description for the AMI.
sourcepub fn get_description(&self) -> &Option<AttributeValue>
pub fn get_description(&self) -> &Option<AttributeValue>
A description for the AMI.
sourcepub fn kernel_id(self, input: AttributeValue) -> Self
pub fn kernel_id(self, input: AttributeValue) -> Self
The kernel ID.
sourcepub fn set_kernel_id(self, input: Option<AttributeValue>) -> Self
pub fn set_kernel_id(self, input: Option<AttributeValue>) -> Self
The kernel ID.
sourcepub fn get_kernel_id(&self) -> &Option<AttributeValue>
pub fn get_kernel_id(&self) -> &Option<AttributeValue>
The kernel ID.
sourcepub fn ramdisk_id(self, input: AttributeValue) -> Self
pub fn ramdisk_id(self, input: AttributeValue) -> Self
The RAM disk ID.
sourcepub fn set_ramdisk_id(self, input: Option<AttributeValue>) -> Self
pub fn set_ramdisk_id(self, input: Option<AttributeValue>) -> Self
The RAM disk ID.
sourcepub fn get_ramdisk_id(&self) -> &Option<AttributeValue>
pub fn get_ramdisk_id(&self) -> &Option<AttributeValue>
The RAM disk ID.
sourcepub fn sriov_net_support(self, input: AttributeValue) -> Self
pub fn sriov_net_support(self, input: AttributeValue) -> Self
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sourcepub fn set_sriov_net_support(self, input: Option<AttributeValue>) -> Self
pub fn set_sriov_net_support(self, input: Option<AttributeValue>) -> Self
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sourcepub fn get_sriov_net_support(&self) -> &Option<AttributeValue>
pub fn get_sriov_net_support(&self) -> &Option<AttributeValue>
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sourcepub fn boot_mode(self, input: AttributeValue) -> Self
pub fn boot_mode(self, input: AttributeValue) -> Self
The boot mode.
sourcepub fn set_boot_mode(self, input: Option<AttributeValue>) -> Self
pub fn set_boot_mode(self, input: Option<AttributeValue>) -> Self
The boot mode.
sourcepub fn get_boot_mode(&self) -> &Option<AttributeValue>
pub fn get_boot_mode(&self) -> &Option<AttributeValue>
The boot mode.
sourcepub fn tpm_support(self, input: AttributeValue) -> Self
pub fn tpm_support(self, input: AttributeValue) -> Self
If the image is configured for NitroTPM support, the value is v2.0
.
sourcepub fn set_tpm_support(self, input: Option<AttributeValue>) -> Self
pub fn set_tpm_support(self, input: Option<AttributeValue>) -> Self
If the image is configured for NitroTPM support, the value is v2.0
.
sourcepub fn get_tpm_support(&self) -> &Option<AttributeValue>
pub fn get_tpm_support(&self) -> &Option<AttributeValue>
If the image is configured for NitroTPM support, the value is v2.0
.
sourcepub fn uefi_data(self, input: AttributeValue) -> Self
pub fn uefi_data(self, input: AttributeValue) -> Self
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
sourcepub fn set_uefi_data(self, input: Option<AttributeValue>) -> Self
pub fn set_uefi_data(self, input: Option<AttributeValue>) -> Self
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
sourcepub fn get_uefi_data(&self) -> &Option<AttributeValue>
pub fn get_uefi_data(&self) -> &Option<AttributeValue>
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
sourcepub fn last_launched_time(self, input: AttributeValue) -> Self
pub fn last_launched_time(self, input: AttributeValue) -> Self
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.
sourcepub fn set_last_launched_time(self, input: Option<AttributeValue>) -> Self
pub fn set_last_launched_time(self, input: Option<AttributeValue>) -> Self
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.
sourcepub fn get_last_launched_time(&self) -> &Option<AttributeValue>
pub fn get_last_launched_time(&self) -> &Option<AttributeValue>
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.
sourcepub fn imds_support(self, input: AttributeValue) -> Self
pub fn imds_support(self, input: AttributeValue) -> Self
If v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens
automatically set to required
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to 2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.
sourcepub fn set_imds_support(self, input: Option<AttributeValue>) -> Self
pub fn set_imds_support(self, input: Option<AttributeValue>) -> Self
If v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens
automatically set to required
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to 2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.
sourcepub fn get_imds_support(&self) -> &Option<AttributeValue>
pub fn get_imds_support(&self) -> &Option<AttributeValue>
If v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens
automatically set to required
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit
is set to 2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.
sourcepub fn build(self) -> DescribeImageAttributeOutput
pub fn build(self) -> DescribeImageAttributeOutput
Consumes the builder and constructs a DescribeImageAttributeOutput
.
Trait Implementations§
source§impl Clone for DescribeImageAttributeOutputBuilder
impl Clone for DescribeImageAttributeOutputBuilder
source§fn clone(&self) -> DescribeImageAttributeOutputBuilder
fn clone(&self) -> DescribeImageAttributeOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeImageAttributeOutputBuilder
impl Default for DescribeImageAttributeOutputBuilder
source§fn default() -> DescribeImageAttributeOutputBuilder
fn default() -> DescribeImageAttributeOutputBuilder
source§impl PartialEq<DescribeImageAttributeOutputBuilder> for DescribeImageAttributeOutputBuilder
impl PartialEq<DescribeImageAttributeOutputBuilder> for DescribeImageAttributeOutputBuilder
source§fn eq(&self, other: &DescribeImageAttributeOutputBuilder) -> bool
fn eq(&self, other: &DescribeImageAttributeOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.