Interface ImageSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImageSummary.Builder,
,ImageSummary> SdkBuilder<ImageSummary.Builder,
,ImageSummary> SdkPojo
- Enclosing class:
ImageSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the image.Indicates the type of build that created this image.Indicates the type of build that created this image.dateCreated
(String dateCreated) The date on which Image Builder created this image.deprecationTime
(Instant deprecationTime) The time when deprecation occurs for an image resource.imageSource
(String imageSource) The origin of the base image that Image Builder used to build this image.imageSource
(ImageSource imageSource) The origin of the base image that Image Builder used to build this image.lifecycleExecutionId
(String lifecycleExecutionId) Identifies the last runtime instance of the lifecycle policy to take action on the image.The name of the image.The operating system version of the instances that launch from this image.default ImageSummary.Builder
outputResources
(Consumer<OutputResources.Builder> outputResources) The output resources that Image Builder produced when it created this image.outputResources
(OutputResources outputResources) The output resources that Image Builder produced when it created this image.The owner of the image.The image operating system platform, such as Linux or Windows.The image operating system platform, such as Linux or Windows.default ImageSummary.Builder
state
(Consumer<ImageState.Builder> state) The state of the image.state
(ImageState state) The state of the image.The tags that apply to this image.Specifies whether this image produces an AMI or a container image.Specifies whether this image produces an AMI or a container image.The version of the image.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
arn
The Amazon Resource Name (ARN) of the image.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the image.
- Parameters:
name
- The name of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Specifies whether this image produces an AMI or a container image.
- Parameters:
type
- Specifies whether this image produces an AMI or a container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Specifies whether this image produces an AMI or a container image.
- Parameters:
type
- Specifies whether this image produces an AMI or a container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version of the image.
- Parameters:
version
- The version of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
The image operating system platform, such as Linux or Windows.
- Parameters:
platform
- The image operating system platform, such as Linux or Windows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platform
The image operating system platform, such as Linux or Windows.
- Parameters:
platform
- The image operating system platform, such as Linux or Windows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osVersion
The operating system version of the instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
- Parameters:
osVersion
- The operating system version of the instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the image.
- Parameters:
state
- The state of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the image.
This is a convenience method that creates an instance of theImageState.Builder
avoiding the need to create one manually viaImageState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostate(ImageState)
.- Parameters:
state
- a consumer that will call methods onImageState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
owner
The owner of the image.
- Parameters:
owner
- The owner of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateCreated
The date on which Image Builder created this image.
- Parameters:
dateCreated
- The date on which Image Builder created this image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputResources
The output resources that Image Builder produced when it created this image.
- Parameters:
outputResources
- The output resources that Image Builder produced when it created this image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputResources
The output resources that Image Builder produced when it created this image.
This is a convenience method that creates an instance of theOutputResources.Builder
avoiding the need to create one manually viaOutputResources.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputResources(OutputResources)
.- Parameters:
outputResources
- a consumer that will call methods onOutputResources.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags that apply to this image.
- Parameters:
tags
- The tags that apply to this image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildType
Indicates the type of build that created this image. The build can be initiated in the following ways:
-
USER_INITIATED – A manual pipeline build request.
-
SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge.
-
IMPORT – A VM import created the image to use as the base image for the recipe.
- Parameters:
buildType
- Indicates the type of build that created this image. The build can be initiated in the following ways:-
USER_INITIATED – A manual pipeline build request.
-
SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge.
-
IMPORT – A VM import created the image to use as the base image for the recipe.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
buildType
Indicates the type of build that created this image. The build can be initiated in the following ways:
-
USER_INITIATED – A manual pipeline build request.
-
SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge.
-
IMPORT – A VM import created the image to use as the base image for the recipe.
- Parameters:
buildType
- Indicates the type of build that created this image. The build can be initiated in the following ways:-
USER_INITIATED – A manual pipeline build request.
-
SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge.
-
IMPORT – A VM import created the image to use as the base image for the recipe.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
imageSource
The origin of the base image that Image Builder used to build this image.
- Parameters:
imageSource
- The origin of the base image that Image Builder used to build this image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageSource
The origin of the base image that Image Builder used to build this image.
- Parameters:
imageSource
- The origin of the base image that Image Builder used to build this image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deprecationTime
The time when deprecation occurs for an image resource. This can be a past or future date.
- Parameters:
deprecationTime
- The time when deprecation occurs for an image resource. This can be a past or future date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleExecutionId
Identifies the last runtime instance of the lifecycle policy to take action on the image.
- Parameters:
lifecycleExecutionId
- Identifies the last runtime instance of the lifecycle policy to take action on the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-