Struct aws_sdk_codebuild::model::environment_platform::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EnvironmentPlatform
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn platform(self, input: PlatformType) -> Self
pub fn platform(self, input: PlatformType) -> Self
The platform's name.
sourcepub fn set_platform(self, input: Option<PlatformType>) -> Self
pub fn set_platform(self, input: Option<PlatformType>) -> Self
The platform's name.
sourcepub fn languages(self, input: EnvironmentLanguage) -> Self
pub fn languages(self, input: EnvironmentLanguage) -> Self
Appends an item to languages
.
To override the contents of this collection use set_languages
.
The list of programming languages that are available for the specified platform.
sourcepub fn set_languages(self, input: Option<Vec<EnvironmentLanguage>>) -> Self
pub fn set_languages(self, input: Option<Vec<EnvironmentLanguage>>) -> Self
The list of programming languages that are available for the specified platform.
sourcepub fn build(self) -> EnvironmentPlatform
pub fn build(self) -> EnvironmentPlatform
Consumes the builder and constructs a EnvironmentPlatform
.