CopyableBuilder<Image.Builder,Image>
, SdkBuilder<Image.Builder,Image>
public static interface Image.Builder extends CopyableBuilder<Image.Builder,Image>
Modifier and Type | Method | Description |
---|---|---|
Image.Builder |
applications(Collection<Application> applications) |
The applications associated with an image.
|
Image.Builder |
applications(Application... applications) |
The applications associated with an image.
|
Image.Builder |
arn(String arn) |
The ARN for the image.
|
Image.Builder |
baseImageArn(String baseImageArn) |
The source image ARN from which this image was created.
|
Image.Builder |
createdTime(Date createdTime) |
The timestamp when the image was created.
|
Image.Builder |
description(String description) |
A meaningful description for the image.
|
Image.Builder |
displayName(String displayName) |
The display name for the image.
|
Image.Builder |
imageBuilderSupported(Boolean imageBuilderSupported) |
Whether an image builder can be launched from this image.
|
Image.Builder |
name(String name) |
The unique identifier for the image.
|
Image.Builder |
platform(String platform) |
The operating system platform of the image.
|
Image.Builder |
platform(PlatformType platform) |
The operating system platform of the image.
|
Image.Builder |
publicBaseImageReleasedDate(Date publicBaseImageReleasedDate) |
The AWS release date of the public base image.
|
Image.Builder |
state(String state) |
The image starts in the PENDING state, and then moves to AVAILABLE if image creation succeeds
and FAILED if image creation has failed.
|
Image.Builder |
state(ImageState state) |
The image starts in the PENDING state, and then moves to AVAILABLE if image creation succeeds
and FAILED if image creation has failed.
|
Image.Builder |
stateChangeReason(ImageStateChangeReason stateChangeReason) |
The reason why the last state change occurred.
|
Image.Builder |
visibility(String visibility) |
The visibility of an image to the user; images can be public or private.
|
Image.Builder |
visibility(VisibilityType visibility) |
The visibility of an image to the user; images can be public or private.
|
copy
apply, build
Image.Builder name(String name)
The unique identifier for the image.
name
- The unique identifier for the image.Image.Builder arn(String arn)
The ARN for the image.
arn
- The ARN for the image.Image.Builder baseImageArn(String baseImageArn)
The source image ARN from which this image was created.
baseImageArn
- The source image ARN from which this image was created.Image.Builder displayName(String displayName)
The display name for the image.
displayName
- The display name for the image.Image.Builder state(String state)
The image starts in the PENDING state, and then moves to AVAILABLE if image creation succeeds and FAILED if image creation has failed.
state
- The image starts in the PENDING state, and then moves to AVAILABLE if image creation
succeeds and FAILED if image creation has failed.ImageState
Image.Builder state(ImageState state)
The image starts in the PENDING state, and then moves to AVAILABLE if image creation succeeds and FAILED if image creation has failed.
state
- The image starts in the PENDING state, and then moves to AVAILABLE if image creation
succeeds and FAILED if image creation has failed.ImageState
Image.Builder visibility(String visibility)
The visibility of an image to the user; images can be public or private.
visibility
- The visibility of an image to the user; images can be public or private.VisibilityType
Image.Builder visibility(VisibilityType visibility)
The visibility of an image to the user; images can be public or private.
visibility
- The visibility of an image to the user; images can be public or private.VisibilityType
Image.Builder imageBuilderSupported(Boolean imageBuilderSupported)
Whether an image builder can be launched from this image.
imageBuilderSupported
- Whether an image builder can be launched from this image.Image.Builder platform(String platform)
The operating system platform of the image.
platform
- The operating system platform of the image.PlatformType
Image.Builder platform(PlatformType platform)
The operating system platform of the image.
platform
- The operating system platform of the image.PlatformType
Image.Builder description(String description)
A meaningful description for the image.
description
- A meaningful description for the image.Image.Builder stateChangeReason(ImageStateChangeReason stateChangeReason)
The reason why the last state change occurred.
stateChangeReason
- The reason why the last state change occurred.Image.Builder applications(Collection<Application> applications)
The applications associated with an image.
applications
- The applications associated with an image.Image.Builder applications(Application... applications)
The applications associated with an image.
NOTE: This method appends the values to the existing list (if any). Use
#setApplications(java.util.Collection)
or #withApplications(java.util.Collection)
if you want
to override the existing values.
applications
- The applications associated with an image.Image.Builder createdTime(Date createdTime)
The timestamp when the image was created.
createdTime
- The timestamp when the image was created.Image.Builder publicBaseImageReleasedDate(Date publicBaseImageReleasedDate)
The AWS 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 AWS 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.