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 Image Builder created this image.
|
ImageSummary.Builder |
imageSource(ImageSource imageSource)
The origin of the base image that Image Builder used to build this image.
|
ImageSummary.Builder |
imageSource(String imageSource)
The origin of the base image that Image Builder used to build this image.
|
ImageSummary.Builder |
name(String name)
The name of the image.
|
ImageSummary.Builder |
osVersion(String osVersion)
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.
|
ImageSummary.Builder |
outputResources(OutputResources outputResources)
The output resources that Image Builder produced when it created this image.
|
ImageSummary.Builder |
owner(String owner)
The owner of the image.
|
ImageSummary.Builder |
platform(Platform platform)
The image operating system platform, such as Linux or Windows.
|
ImageSummary.Builder |
platform(String platform)
The image operating system platform, such as Linux or Windows.
|
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 that apply to this image.
|
ImageSummary.Builder |
type(ImageType type)
Specifies whether this image produces an AMI or a container image.
|
ImageSummary.Builder |
type(String type)
Specifies whether this image produces an AMI or a 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 image produces an AMI or a container image.
ImageSummary.Builder type(ImageType type)
Specifies whether this image produces an AMI or a container image.
ImageSummary.Builder version(String version)
The version of the image.
version - The version of the image.ImageSummary.Builder platform(String platform)
The image operating system platform, such as Linux or Windows.
ImageSummary.Builder platform(Platform platform)
The image operating system platform, such as Linux or Windows.
ImageSummary.Builder osVersion(String 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.
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.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 Image Builder created this image.
dateCreated - The date on which Image Builder created this image.ImageSummary.Builder outputResources(OutputResources outputResources)
The output resources that Image Builder produced when it created this image.
outputResources - The output resources that Image Builder produced when it created this image.default ImageSummary.Builder outputResources(Consumer<OutputResources.Builder> 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 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 that apply to this image.
tags - The tags that apply to this 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,
BuildTypeImageSummary.Builder imageSource(String imageSource)
The origin of the base image that Image Builder used to build this image.
imageSource - The origin of the base image that Image Builder used to build this image.ImageSource,
ImageSourceImageSummary.Builder imageSource(ImageSource imageSource)
The origin of the base image that Image Builder used to build this image.
imageSource - The origin of the base image that Image Builder used to build this image.ImageSource,
ImageSourceCopyright © 2023. All rights reserved.