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