Struct aws_sdk_imagebuilder::model::image_pipeline::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ImagePipeline
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the image pipeline.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the image pipeline.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the image pipeline.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the image pipeline.
sourcepub fn set_platform(self, input: Option<Platform>) -> Self
pub fn set_platform(self, input: Option<Platform>) -> Self
The platform of the image pipeline.
sourcepub fn enhanced_image_metadata_enabled(self, input: bool) -> Self
pub fn enhanced_image_metadata_enabled(self, input: bool) -> Self
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
sourcepub fn set_enhanced_image_metadata_enabled(self, input: Option<bool>) -> Self
pub fn set_enhanced_image_metadata_enabled(self, input: Option<bool>) -> Self
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
sourcepub fn image_recipe_arn(self, input: impl Into<String>) -> Self
pub fn image_recipe_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.
sourcepub fn set_image_recipe_arn(self, input: Option<String>) -> Self
pub fn set_image_recipe_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.
sourcepub fn container_recipe_arn(self, input: impl Into<String>) -> Self
pub fn container_recipe_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.
sourcepub fn set_container_recipe_arn(self, input: Option<String>) -> Self
pub fn set_container_recipe_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.
sourcepub fn infrastructure_configuration_arn(self, input: impl Into<String>) -> Self
pub fn infrastructure_configuration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.
sourcepub fn set_infrastructure_configuration_arn(self, input: Option<String>) -> Self
pub fn set_infrastructure_configuration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.
sourcepub fn distribution_configuration_arn(self, input: impl Into<String>) -> Self
pub fn distribution_configuration_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.
sourcepub fn set_distribution_configuration_arn(self, input: Option<String>) -> Self
pub fn set_distribution_configuration_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.
sourcepub fn image_tests_configuration(self, input: ImageTestsConfiguration) -> Self
pub fn image_tests_configuration(self, input: ImageTestsConfiguration) -> Self
The image tests configuration of the image pipeline.
sourcepub fn set_image_tests_configuration(
self,
input: Option<ImageTestsConfiguration>
) -> Self
pub fn set_image_tests_configuration(
self,
input: Option<ImageTestsConfiguration>
) -> Self
The image tests configuration of the image pipeline.
sourcepub fn set_schedule(self, input: Option<Schedule>) -> Self
pub fn set_schedule(self, input: Option<Schedule>) -> Self
The schedule of the image pipeline.
sourcepub fn status(self, input: PipelineStatus) -> Self
pub fn status(self, input: PipelineStatus) -> Self
The status of the image pipeline.
sourcepub fn set_status(self, input: Option<PipelineStatus>) -> Self
pub fn set_status(self, input: Option<PipelineStatus>) -> Self
The status of the image pipeline.
sourcepub fn date_created(self, input: impl Into<String>) -> Self
pub fn date_created(self, input: impl Into<String>) -> Self
The date on which this image pipeline was created.
sourcepub fn set_date_created(self, input: Option<String>) -> Self
pub fn set_date_created(self, input: Option<String>) -> Self
The date on which this image pipeline was created.
sourcepub fn date_updated(self, input: impl Into<String>) -> Self
pub fn date_updated(self, input: impl Into<String>) -> Self
The date on which this image pipeline was last updated.
sourcepub fn set_date_updated(self, input: Option<String>) -> Self
pub fn set_date_updated(self, input: Option<String>) -> Self
The date on which this image pipeline was last updated.
sourcepub fn date_last_run(self, input: impl Into<String>) -> Self
pub fn date_last_run(self, input: impl Into<String>) -> Self
The date on which this image pipeline was last run.
sourcepub fn set_date_last_run(self, input: Option<String>) -> Self
pub fn set_date_last_run(self, input: Option<String>) -> Self
The date on which this image pipeline was last run.
sourcepub fn date_next_run(self, input: impl Into<String>) -> Self
pub fn date_next_run(self, input: impl Into<String>) -> Self
The date on which this image pipeline will next be run.
sourcepub fn set_date_next_run(self, input: Option<String>) -> Self
pub fn set_date_next_run(self, input: Option<String>) -> Self
The date on which this image pipeline will next be run.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags of this image pipeline.
The tags of this image pipeline.
sourcepub fn build(self) -> ImagePipeline
pub fn build(self) -> ImagePipeline
Consumes the builder and constructs a ImagePipeline
.