pub struct Builder { /* private fields */ }
Expand description
A builder for Ami
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region of the Amazon EC2 AMI.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Amazon Web Services Region of the Amazon EC2 AMI.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the Amazon EC2 AMI. Minimum and maximum length are in characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the Amazon EC2 AMI. Minimum and maximum length are in characters.
sourcepub fn state(self, input: ImageState) -> Self
pub fn state(self, input: ImageState) -> Self
Image state shows the image status and the reason for that status.
sourcepub fn set_state(self, input: Option<ImageState>) -> Self
pub fn set_state(self, input: Option<ImageState>) -> Self
Image state shows the image status and the reason for that status.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The account ID of the owner of the AMI.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID of the owner of the AMI.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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