Interface UpdateImagePipelineRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateImagePipelineRequest.Builder,
,UpdateImagePipelineRequest> ImagebuilderRequest.Builder
,SdkBuilder<UpdateImagePipelineRequest.Builder,
,UpdateImagePipelineRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateImagePipelineRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The idempotency token used to make this request idempotent.containerRecipeArn
(String containerRecipeArn) The Amazon Resource Name (ARN) of the container pipeline to update.description
(String description) The description of the image pipeline.distributionConfigurationArn
(String distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration that Image Builder uses to configure and distribute images that this image pipeline has updated.enhancedImageMetadataEnabled
(Boolean enhancedImageMetadataEnabled) Collects additional information about the image being created, including the operating system (OS) version and package list.imagePipelineArn
(String imagePipelineArn) The Amazon Resource Name (ARN) of the image pipeline that you want to update.imageRecipeArn
(String imageRecipeArn) The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.imageScanningConfiguration
(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration) Contains settings for vulnerability scans.imageScanningConfiguration
(ImageScanningConfiguration imageScanningConfiguration) Contains settings for vulnerability scans.imageTestsConfiguration
(Consumer<ImageTestsConfiguration.Builder> imageTestsConfiguration) The image test configuration of the image pipeline.imageTestsConfiguration
(ImageTestsConfiguration imageTestsConfiguration) The image test configuration of the image pipeline.infrastructureConfigurationArn
(String infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration that Image Builder uses to build images that this image pipeline has updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.schedule
(Consumer<Schedule.Builder> schedule) The schedule of the image pipeline.The schedule of the image pipeline.The status of the image pipeline.status
(PipelineStatus status) The status of the image pipeline.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
imagePipelineArn
The Amazon Resource Name (ARN) of the image pipeline that you want to update.
- Parameters:
imagePipelineArn
- The Amazon Resource Name (ARN) of the image pipeline that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the image pipeline.
- Parameters:
description
- The description of the image pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageRecipeArn
The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.
- Parameters:
imageRecipeArn
- The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerRecipeArn
The Amazon Resource Name (ARN) of the container pipeline to update.
- Parameters:
containerRecipeArn
- The Amazon Resource Name (ARN) of the container pipeline to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructureConfigurationArn
UpdateImagePipelineRequest.Builder infrastructureConfigurationArn(String infrastructureConfigurationArn) The Amazon Resource Name (ARN) of the infrastructure configuration that Image Builder uses to build images that this image pipeline has updated.
- Parameters:
infrastructureConfigurationArn
- The Amazon Resource Name (ARN) of the infrastructure configuration that Image Builder uses to build images that this image pipeline has updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distributionConfigurationArn
UpdateImagePipelineRequest.Builder distributionConfigurationArn(String distributionConfigurationArn) The Amazon Resource Name (ARN) of the distribution configuration that Image Builder uses to configure and distribute images that this image pipeline has updated.
- Parameters:
distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration that Image Builder uses to configure and distribute images that this image pipeline has updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageTestsConfiguration
UpdateImagePipelineRequest.Builder imageTestsConfiguration(ImageTestsConfiguration imageTestsConfiguration) The image test configuration of the image pipeline.
- Parameters:
imageTestsConfiguration
- The image test configuration of the image pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageTestsConfiguration
default UpdateImagePipelineRequest.Builder imageTestsConfiguration(Consumer<ImageTestsConfiguration.Builder> imageTestsConfiguration) The image test configuration of the image pipeline.
This is a convenience method that creates an instance of theImageTestsConfiguration.Builder
avoiding the need to create one manually viaImageTestsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageTestsConfiguration(ImageTestsConfiguration)
.- Parameters:
imageTestsConfiguration
- a consumer that will call methods onImageTestsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enhancedImageMetadataEnabled
UpdateImagePipelineRequest.Builder enhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled) 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.
- Parameters:
enhancedImageMetadataEnabled
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule of the image pipeline.
- Parameters:
schedule
- The schedule of the image pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule of the image pipeline.
This is a convenience method that creates an instance of theSchedule.Builder
avoiding the need to create one manually viaSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(Schedule)
.- Parameters:
schedule
- a consumer that will call methods onSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the image pipeline.
- Parameters:
status
- The status of the image pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the image pipeline.
- Parameters:
status
- The status of the image pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
The idempotency token used to make this request idempotent.
- Parameters:
clientToken
- The idempotency token used to make this request idempotent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageScanningConfiguration
UpdateImagePipelineRequest.Builder imageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration) Contains settings for vulnerability scans.
- Parameters:
imageScanningConfiguration
- Contains settings for vulnerability scans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageScanningConfiguration
default UpdateImagePipelineRequest.Builder imageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration) Contains settings for vulnerability scans.
This is a convenience method that creates an instance of theImageScanningConfiguration.Builder
avoiding the need to create one manually viaImageScanningConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageScanningConfiguration(ImageScanningConfiguration)
.- Parameters:
imageScanningConfiguration
- a consumer that will call methods onImageScanningConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateImagePipelineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateImagePipelineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-