Struct aws_sdk_codebuild::model::environment_image::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for EnvironmentImage
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the Docker image.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the Docker image.
sourcepub fn versions(self, input: impl Into<String>) -> Self
pub fn versions(self, input: impl Into<String>) -> Self
Appends an item to versions
.
To override the contents of this collection use set_versions
.
A list of environment image versions.
sourcepub fn set_versions(self, input: Option<Vec<String>>) -> Self
pub fn set_versions(self, input: Option<Vec<String>>) -> Self
A list of environment image versions.
sourcepub fn build(self) -> EnvironmentImage
pub fn build(self) -> EnvironmentImage
Consumes the builder and constructs a EnvironmentImage
.
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