public static final class CfnImageProps.Builder
extends java.lang.Object
CfnImageProps
Constructor and Description |
---|
Builder() |
public CfnImageProps.Builder infrastructureConfigurationArn(java.lang.String infrastructureConfigurationArn)
CfnImageProps.getInfrastructureConfigurationArn()
infrastructureConfigurationArn
- The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline. This parameter is required.this
public CfnImageProps.Builder containerRecipeArn(java.lang.String containerRecipeArn)
CfnImageProps.getContainerRecipeArn()
containerRecipeArn
- The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.this
public CfnImageProps.Builder distributionConfigurationArn(java.lang.String distributionConfigurationArn)
CfnImageProps.getDistributionConfigurationArn()
distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration.this
public CfnImageProps.Builder enhancedImageMetadataEnabled(java.lang.Boolean enhancedImageMetadataEnabled)
CfnImageProps.getEnhancedImageMetadataEnabled()
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.this
public CfnImageProps.Builder enhancedImageMetadataEnabled(IResolvable enhancedImageMetadataEnabled)
CfnImageProps.getEnhancedImageMetadataEnabled()
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.this
public CfnImageProps.Builder imageRecipeArn(java.lang.String imageRecipeArn)
CfnImageProps.getImageRecipeArn()
imageRecipeArn
- The Amazon Resource Name (ARN) of the image recipe.this
public CfnImageProps.Builder imageTestsConfiguration(IResolvable imageTestsConfiguration)
CfnImageProps.getImageTestsConfiguration()
imageTestsConfiguration
- The configuration settings for your image test components, which includes a toggle that allows you to turn off tests, and a timeout setting.this
public CfnImageProps.Builder imageTestsConfiguration(CfnImage.ImageTestsConfigurationProperty imageTestsConfiguration)
CfnImageProps.getImageTestsConfiguration()
imageTestsConfiguration
- The configuration settings for your image test components, which includes a toggle that allows you to turn off tests, and a timeout setting.this
public CfnImageProps.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
CfnImageProps.getTags()
tags
- The tags of the image.this
public CfnImageProps build()
CfnImageProps
java.lang.NullPointerException
- if any required attribute was not provided