public static interface ImageSummary.Builder extends SdkPojo, CopyableBuilder<ImageSummary.Builder,ImageSummary>
| Modifier and Type | Method and Description |
|---|---|
ImageSummary.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the image.
|
ImageSummary.Builder |
buildType(BuildType buildType)
Indicates the type of build that created this image.
|
ImageSummary.Builder |
buildType(String buildType)
Indicates the type of build that created this image.
|
ImageSummary.Builder |
dateCreated(String dateCreated)
The date on which this image was created.
|
ImageSummary.Builder |
name(String name)
The name of the image.
|
ImageSummary.Builder |
osVersion(String osVersion)
The operating system version of the instance.
|
default ImageSummary.Builder |
outputResources(Consumer<OutputResources.Builder> outputResources)
The output resources produced when creating this image.
|
ImageSummary.Builder |
outputResources(OutputResources outputResources)
The output resources produced when creating this image.
|
ImageSummary.Builder |
owner(String owner)
The owner of the image.
|
ImageSummary.Builder |
platform(Platform platform)
The platform of the image.
|
ImageSummary.Builder |
platform(String platform)
The platform of the image.
|
default ImageSummary.Builder |
state(Consumer<ImageState.Builder> state)
The state of the image.
|
ImageSummary.Builder |
state(ImageState state)
The state of the image.
|
ImageSummary.Builder |
tags(Map<String,String> tags)
The tags of the image.
|
ImageSummary.Builder |
type(ImageType type)
Specifies whether this is an AMI or container image.
|
ImageSummary.Builder |
type(String type)
Specifies whether this is an AMI or container image.
|
ImageSummary.Builder |
version(String version)
The version of the image.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImageSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the image.
arn - The Amazon Resource Name (ARN) of the image.ImageSummary.Builder name(String name)
The name of the image.
name - The name of the image.ImageSummary.Builder type(String type)
Specifies whether this is an AMI or container image.
ImageSummary.Builder type(ImageType type)
Specifies whether this is an AMI or container image.
ImageSummary.Builder version(String version)
The version of the image.
version - The version of the image.ImageSummary.Builder platform(String platform)
The platform of the image.
ImageSummary.Builder platform(Platform platform)
The platform of the image.
ImageSummary.Builder osVersion(String osVersion)
The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
osVersion - The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft
Windows Server 2019.ImageSummary.Builder state(ImageState state)
The state of the image.
state - The state of the image.default ImageSummary.Builder state(Consumer<ImageState.Builder> 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 via ImageState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to state(ImageState).
state - a consumer that will call methods on ImageState.Builderstate(ImageState)ImageSummary.Builder owner(String owner)
The owner of the image.
owner - The owner of the image.ImageSummary.Builder dateCreated(String dateCreated)
The date on which this image was created.
dateCreated - The date on which this image was created.ImageSummary.Builder outputResources(OutputResources outputResources)
The output resources produced when creating this image.
outputResources - The output resources produced when creating this image.default ImageSummary.Builder outputResources(Consumer<OutputResources.Builder> outputResources)
The output resources produced when creating this image.
This is a convenience method that creates an instance of theOutputResources.Builder avoiding the
need to create one manually via OutputResources.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to outputResources(OutputResources).
outputResources - a consumer that will call methods on OutputResources.BuilderoutputResources(OutputResources)ImageSummary.Builder tags(Map<String,String> tags)
The tags of the image.
tags - The tags of the image.ImageSummary.Builder buildType(String 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.
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.
BuildType,
BuildTypeImageSummary.Builder buildType(BuildType 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.
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.
BuildType,
BuildTypeCopyright © 2022. All rights reserved.