Struct aws_sdk_imagebuilder::types::builders::AmiBuilder
source · #[non_exhaustive]pub struct AmiBuilder { /* private fields */ }
Expand description
A builder for Ami
.
Implementations§
source§impl AmiBuilder
impl AmiBuilder
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 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 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§
source§impl Clone for AmiBuilder
impl Clone for AmiBuilder
source§fn clone(&self) -> AmiBuilder
fn clone(&self) -> AmiBuilder
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 AmiBuilder
impl Debug for AmiBuilder
source§impl Default for AmiBuilder
impl Default for AmiBuilder
source§fn default() -> AmiBuilder
fn default() -> AmiBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AmiBuilder> for AmiBuilder
impl PartialEq<AmiBuilder> for AmiBuilder
source§fn eq(&self, other: &AmiBuilder) -> bool
fn eq(&self, other: &AmiBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.