Struct aws_sdk_ec2::output::describe_image_attribute_output::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for DescribeImageAttributeOutput
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 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 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 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 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 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 Elastic Compute Cloud 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 Elastic Compute Cloud 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, 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, there is a 24-hour delay before that usage is reported.
lastLaunchedTime data is available starting April 2017.
sourcepub fn build(self) -> DescribeImageAttributeOutput
pub fn build(self) -> DescribeImageAttributeOutput
Consumes the builder and constructs a DescribeImageAttributeOutput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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