public static interface Image.Builder extends SdkPojo, CopyableBuilder<Image.Builder,Image>
| Modifier and Type | Method and Description |
|---|---|
Image.Builder |
applications(Application... applications)
The applications associated with the image.
|
Image.Builder |
applications(Collection<Application> applications)
The applications associated with the image.
|
Image.Builder |
applications(Consumer<Application.Builder>... applications)
The applications associated with the image.
|
Image.Builder |
appstreamAgentVersion(String appstreamAgentVersion)
The version of the AppStream 2.0 agent to use for instances that are launched from this image.
|
Image.Builder |
arn(String arn)
The ARN of the image.
|
Image.Builder |
baseImageArn(String baseImageArn)
The ARN of the image from which this image was created.
|
Image.Builder |
createdTime(Instant createdTime)
The time the image was created.
|
Image.Builder |
description(String description)
The description to display.
|
Image.Builder |
displayName(String displayName)
The image name to display.
|
Image.Builder |
imageBuilderName(String imageBuilderName)
The name of the image builder that was used to create the private image.
|
Image.Builder |
imageBuilderSupported(Boolean imageBuilderSupported)
Indicates whether an image builder can be launched from this image.
|
Image.Builder |
imageErrors(Collection<ResourceError> imageErrors)
Describes the errors that are returned when a new image can't be created.
|
Image.Builder |
imageErrors(Consumer<ResourceError.Builder>... imageErrors)
Describes the errors that are returned when a new image can't be created.
|
Image.Builder |
imageErrors(ResourceError... imageErrors)
Describes the errors that are returned when a new image can't be created.
|
default Image.Builder |
imagePermissions(Consumer<ImagePermissions.Builder> imagePermissions)
The permissions to provide to the destination AWS account for the specified image.
|
Image.Builder |
imagePermissions(ImagePermissions imagePermissions)
The permissions to provide to the destination AWS account for the specified image.
|
Image.Builder |
name(String name)
The name of the image.
|
Image.Builder |
platform(PlatformType platform)
The operating system platform of the image.
|
Image.Builder |
platform(String platform)
The operating system platform of the image.
|
Image.Builder |
publicBaseImageReleasedDate(Instant publicBaseImageReleasedDate)
The release date of the public base image.
|
Image.Builder |
state(ImageState state)
The image starts in the
PENDING state. |
Image.Builder |
state(String state)
The image starts in the
PENDING state. |
default Image.Builder |
stateChangeReason(Consumer<ImageStateChangeReason.Builder> stateChangeReason)
The reason why the last state change occurred.
|
Image.Builder |
stateChangeReason(ImageStateChangeReason stateChangeReason)
The reason why the last state change occurred.
|
Image.Builder |
visibility(String visibility)
Indicates whether the image is public or private.
|
Image.Builder |
visibility(VisibilityType visibility)
Indicates whether the image is public or private.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImage.Builder name(String name)
The name of the image.
name - The name of the image.Image.Builder arn(String arn)
The ARN of the image.
arn - The ARN of the image.Image.Builder baseImageArn(String baseImageArn)
The ARN of the image from which this image was created.
baseImageArn - The ARN of the image from which this image was created.Image.Builder displayName(String displayName)
The image name to display.
displayName - The image name to display.Image.Builder state(String state)
The image starts in the PENDING state. If image creation succeeds, the state is
AVAILABLE. If image creation fails, the state is FAILED.
state - The image starts in the PENDING state. If image creation succeeds, the state is
AVAILABLE. If image creation fails, the state is FAILED.ImageState,
ImageStateImage.Builder state(ImageState state)
The image starts in the PENDING state. If image creation succeeds, the state is
AVAILABLE. If image creation fails, the state is FAILED.
state - The image starts in the PENDING state. If image creation succeeds, the state is
AVAILABLE. If image creation fails, the state is FAILED.ImageState,
ImageStateImage.Builder visibility(String visibility)
Indicates whether the image is public or private.
visibility - Indicates whether the image is public or private.VisibilityType,
VisibilityTypeImage.Builder visibility(VisibilityType visibility)
Indicates whether the image is public or private.
visibility - Indicates whether the image is public or private.VisibilityType,
VisibilityTypeImage.Builder imageBuilderSupported(Boolean imageBuilderSupported)
Indicates whether an image builder can be launched from this image.
imageBuilderSupported - Indicates whether an image builder can be launched from this image.Image.Builder imageBuilderName(String imageBuilderName)
The name of the image builder that was used to create the private image. If the image is shared, this value is null.
imageBuilderName - The name of the image builder that was used to create the private image. If the image is shared, this
value is null.Image.Builder platform(String platform)
The operating system platform of the image.
platform - The operating system platform of the image.PlatformType,
PlatformTypeImage.Builder platform(PlatformType platform)
The operating system platform of the image.
platform - The operating system platform of the image.PlatformType,
PlatformTypeImage.Builder description(String description)
The description to display.
description - The description to display.Image.Builder stateChangeReason(ImageStateChangeReason stateChangeReason)
The reason why the last state change occurred.
stateChangeReason - The reason why the last state change occurred.default Image.Builder stateChangeReason(Consumer<ImageStateChangeReason.Builder> stateChangeReason)
The reason why the last state change occurred.
This is a convenience method that creates an instance of theImageStateChangeReason.Builder avoiding
the need to create one manually via ImageStateChangeReason.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to stateChangeReason(ImageStateChangeReason).
stateChangeReason - a consumer that will call methods on ImageStateChangeReason.BuilderstateChangeReason(ImageStateChangeReason)Image.Builder applications(Collection<Application> applications)
The applications associated with the image.
applications - The applications associated with the image.Image.Builder applications(Application... applications)
The applications associated with the image.
applications - The applications associated with the image.Image.Builder applications(Consumer<Application.Builder>... applications)
The applications associated with the image.
This is a convenience method that creates an instance of theApplication.Builder avoiding the need to create one
manually via Application.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #applications(List.
applications - a consumer that will call methods on
Application.Builder#applications(java.util.Collection) Image.Builder createdTime(Instant createdTime)
The time the image was created.
createdTime - The time the image was created.Image.Builder publicBaseImageReleasedDate(Instant publicBaseImageReleasedDate)
The release date of the public base image. For private images, this date is the release date of the base image from which the image was created.
publicBaseImageReleasedDate - The release date of the public base image. For private images, this date is the release date of the
base image from which the image was created.Image.Builder appstreamAgentVersion(String appstreamAgentVersion)
The version of the AppStream 2.0 agent to use for instances that are launched from this image.
appstreamAgentVersion - The version of the AppStream 2.0 agent to use for instances that are launched from this image.Image.Builder imagePermissions(ImagePermissions imagePermissions)
The permissions to provide to the destination AWS account for the specified image.
imagePermissions - The permissions to provide to the destination AWS account for the specified image.default Image.Builder imagePermissions(Consumer<ImagePermissions.Builder> imagePermissions)
The permissions to provide to the destination AWS account for the specified image.
This is a convenience method that creates an instance of theImagePermissions.Builder avoiding the
need to create one manually via ImagePermissions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to imagePermissions(ImagePermissions).
imagePermissions - a consumer that will call methods on ImagePermissions.BuilderimagePermissions(ImagePermissions)Image.Builder imageErrors(Collection<ResourceError> imageErrors)
Describes the errors that are returned when a new image can't be created.
imageErrors - Describes the errors that are returned when a new image can't be created.Image.Builder imageErrors(ResourceError... imageErrors)
Describes the errors that are returned when a new image can't be created.
imageErrors - Describes the errors that are returned when a new image can't be created.Image.Builder imageErrors(Consumer<ResourceError.Builder>... imageErrors)
Describes the errors that are returned when a new image can't be created.
This is a convenience method that creates an instance of theResourceError.Builder avoiding the need to create one
manually via ResourceError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #imageErrors(List.
imageErrors - a consumer that will call methods on
ResourceError.Builder#imageErrors(java.util.Collection) Copyright © 2023. All rights reserved.