Struct aws_sdk_imagebuilder::model::ami::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Ami
.
Implementations§
source§impl 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.