Struct aws_sdk_imagebuilder::model::image_state::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ImageState
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: ImageStatus) -> Self
pub fn status(self, input: ImageStatus) -> Self
The status of the image.
sourcepub fn set_status(self, input: Option<ImageStatus>) -> Self
pub fn set_status(self, input: Option<ImageStatus>) -> Self
The status of the image.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
The reason for the image's status.
sourcepub fn build(self) -> ImageState
pub fn build(self) -> ImageState
Consumes the builder and constructs a ImageState
.