Interface UpdateImagePipelineRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateImagePipelineRequest.Builder,UpdateImagePipelineRequest>,ImagebuilderRequest.Builder,SdkBuilder<UpdateImagePipelineRequest.Builder,UpdateImagePipelineRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateImagePipelineRequest
public static interface UpdateImagePipelineRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<UpdateImagePipelineRequest.Builder,UpdateImagePipelineRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateImagePipelineRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier you provide to ensure idempotency of the request.UpdateImagePipelineRequest.BuildercontainerRecipeArn(String containerRecipeArn)The Amazon Resource Name (ARN) of the container pipeline to update.UpdateImagePipelineRequest.Builderdescription(String description)The description of the image pipeline.UpdateImagePipelineRequest.BuilderdistributionConfigurationArn(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.UpdateImagePipelineRequest.BuilderenhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled)Collects additional information about the image being created, including the operating system (OS) version and package list.UpdateImagePipelineRequest.BuilderexecutionRole(String executionRole)The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.UpdateImagePipelineRequest.BuilderimagePipelineArn(String imagePipelineArn)The Amazon Resource Name (ARN) of the image pipeline that you want to update.UpdateImagePipelineRequest.BuilderimageRecipeArn(String imageRecipeArn)The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.default UpdateImagePipelineRequest.BuilderimageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration)Contains settings for vulnerability scans.UpdateImagePipelineRequest.BuilderimageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)Contains settings for vulnerability scans.default UpdateImagePipelineRequest.BuilderimageTestsConfiguration(Consumer<ImageTestsConfiguration.Builder> imageTestsConfiguration)The image test configuration of the image pipeline.UpdateImagePipelineRequest.BuilderimageTestsConfiguration(ImageTestsConfiguration imageTestsConfiguration)The image test configuration of the image pipeline.UpdateImagePipelineRequest.BuilderinfrastructureConfigurationArn(String infrastructureConfigurationArn)The Amazon Resource Name (ARN) of the infrastructure configuration that Image Builder uses to build images that this image pipeline has updated.UpdateImagePipelineRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateImagePipelineRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateImagePipelineRequest.Builderschedule(Consumer<Schedule.Builder> schedule)The schedule of the image pipeline.UpdateImagePipelineRequest.Builderschedule(Schedule schedule)The schedule of the image pipeline.UpdateImagePipelineRequest.Builderstatus(String status)The status of the image pipeline.UpdateImagePipelineRequest.Builderstatus(PipelineStatus status)The status of the image pipeline.UpdateImagePipelineRequest.Builderworkflows(Collection<WorkflowConfiguration> workflows)Contains the workflows to run for the pipeline.UpdateImagePipelineRequest.Builderworkflows(Consumer<WorkflowConfiguration.Builder>... workflows)Contains the workflows to run for the pipeline.UpdateImagePipelineRequest.Builderworkflows(WorkflowConfiguration... workflows)Contains the workflows to run for the 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 Detail
-
imagePipelineArn
UpdateImagePipelineRequest.Builder imagePipelineArn(String 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
UpdateImagePipelineRequest.Builder description(String 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
UpdateImagePipelineRequest.Builder imageRecipeArn(String 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
UpdateImagePipelineRequest.Builder containerRecipeArn(String 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.Builderavoiding the need to create one manually viaImageTestsConfiguration.builder().When the
Consumercompletes,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:
imageTestsConfiguration(ImageTestsConfiguration)
-
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
UpdateImagePipelineRequest.Builder schedule(Schedule 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
default UpdateImagePipelineRequest.Builder schedule(Consumer<Schedule.Builder> schedule)
The schedule of the image pipeline.
This is a convenience method that creates an instance of theSchedule.Builderavoiding the need to create one manually viaSchedule.builder().When the
Consumercompletes,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:
schedule(Schedule)
-
status
UpdateImagePipelineRequest.Builder status(String 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:
PipelineStatus,PipelineStatus
-
status
UpdateImagePipelineRequest.Builder status(PipelineStatus 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:
PipelineStatus,PipelineStatus
-
clientToken
UpdateImagePipelineRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
- Parameters:
clientToken- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.- 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.Builderavoiding the need to create one manually viaImageScanningConfiguration.builder().When the
Consumercompletes,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:
imageScanningConfiguration(ImageScanningConfiguration)
-
workflows
UpdateImagePipelineRequest.Builder workflows(Collection<WorkflowConfiguration> workflows)
Contains the workflows to run for the pipeline.
- Parameters:
workflows- Contains the workflows to run for the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
UpdateImagePipelineRequest.Builder workflows(WorkflowConfiguration... workflows)
Contains the workflows to run for the pipeline.
- Parameters:
workflows- Contains the workflows to run for the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflows
UpdateImagePipelineRequest.Builder workflows(Consumer<WorkflowConfiguration.Builder>... workflows)
Contains the workflows to run for the pipeline.
This is a convenience method that creates an instance of theWorkflowConfiguration.Builderavoiding the need to create one manually viaWorkflowConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#workflows(List.) - Parameters:
workflows- a consumer that will call methods onWorkflowConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#workflows(java.util.Collection)
-
executionRole
UpdateImagePipelineRequest.Builder executionRole(String executionRole)
The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
- Parameters:
executionRole- The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateImagePipelineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateImagePipelineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-