Struct aws_sdk_imagebuilder::model::image_package::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ImagePackage
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn package_name(self, input: impl Into<String>) -> Self
pub fn package_name(self, input: impl Into<String>) -> Self
The name of the package as reported to the operating system package manager.
sourcepub fn set_package_name(self, input: Option<String>) -> Self
pub fn set_package_name(self, input: Option<String>) -> Self
The name of the package as reported to the operating system package manager.
sourcepub fn package_version(self, input: impl Into<String>) -> Self
pub fn package_version(self, input: impl Into<String>) -> Self
The version of the package as reported to the operating system package manager.
sourcepub fn set_package_version(self, input: Option<String>) -> Self
pub fn set_package_version(self, input: Option<String>) -> Self
The version of the package as reported to the operating system package manager.
sourcepub fn build(self) -> ImagePackage
pub fn build(self) -> ImagePackage
Consumes the builder and constructs a ImagePackage
.