Struct aws_sdk_ec2::types::builders::FpgaImageAttributeBuilder
source · #[non_exhaustive]pub struct FpgaImageAttributeBuilder { /* private fields */ }
Expand description
A builder for FpgaImageAttribute
.
Implementations§
source§impl FpgaImageAttributeBuilder
impl FpgaImageAttributeBuilder
sourcepub fn fpga_image_id(self, input: impl Into<String>) -> Self
pub fn fpga_image_id(self, input: impl Into<String>) -> Self
The ID of the AFI.
sourcepub fn set_fpga_image_id(self, input: Option<String>) -> Self
pub fn set_fpga_image_id(self, input: Option<String>) -> Self
The ID of the AFI.
sourcepub fn get_fpga_image_id(&self) -> &Option<String>
pub fn get_fpga_image_id(&self) -> &Option<String>
The ID of the AFI.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the AFI.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the AFI.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the AFI.
sourcepub fn load_permissions(self, input: LoadPermission) -> Self
pub fn load_permissions(self, input: LoadPermission) -> Self
Appends an item to load_permissions
.
To override the contents of this collection use set_load_permissions
.
The load permissions.
sourcepub fn set_load_permissions(self, input: Option<Vec<LoadPermission>>) -> Self
pub fn set_load_permissions(self, input: Option<Vec<LoadPermission>>) -> Self
The load permissions.
sourcepub fn get_load_permissions(&self) -> &Option<Vec<LoadPermission>>
pub fn get_load_permissions(&self) -> &Option<Vec<LoadPermission>>
The load 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 build(self) -> FpgaImageAttribute
pub fn build(self) -> FpgaImageAttribute
Consumes the builder and constructs a FpgaImageAttribute
.
Trait Implementations§
source§impl Clone for FpgaImageAttributeBuilder
impl Clone for FpgaImageAttributeBuilder
source§fn clone(&self) -> FpgaImageAttributeBuilder
fn clone(&self) -> FpgaImageAttributeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FpgaImageAttributeBuilder
impl Debug for FpgaImageAttributeBuilder
source§impl Default for FpgaImageAttributeBuilder
impl Default for FpgaImageAttributeBuilder
source§fn default() -> FpgaImageAttributeBuilder
fn default() -> FpgaImageAttributeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<FpgaImageAttributeBuilder> for FpgaImageAttributeBuilder
impl PartialEq<FpgaImageAttributeBuilder> for FpgaImageAttributeBuilder
source§fn eq(&self, other: &FpgaImageAttributeBuilder) -> bool
fn eq(&self, other: &FpgaImageAttributeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FpgaImageAttributeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FpgaImageAttributeBuilder
impl Send for FpgaImageAttributeBuilder
impl Sync for FpgaImageAttributeBuilder
impl Unpin for FpgaImageAttributeBuilder
impl UnwindSafe for FpgaImageAttributeBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more