@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Image extends Object implements Serializable, Cloneable, StructuredPojo
New streaming instances are booted from images. The image stores the application catalog and is connected to fleets.
| Constructor and Description |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
Image |
clone() |
boolean |
equals(Object obj) |
List<Application> |
getApplications()
The applications associated with an image.
|
String |
getArn()
The ARN for the image.
|
String |
getBaseImageArn()
The source image ARN from which this image was created.
|
Date |
getCreatedTime()
The timestamp when the image was created.
|
String |
getDescription()
A meaningful description for the image.
|
String |
getDisplayName()
The display name for the image.
|
Boolean |
getImageBuilderSupported()
Whether an image builder can be launched from this image.
|
String |
getName()
The unique identifier for the image.
|
String |
getPlatform()
The operating system platform of the image.
|
Date |
getPublicBaseImageReleasedDate()
The AWS release date of the public base image.
|
String |
getState()
The image starts in the PENDING state, and then moves to AVAILABLE if image creation succeeds and
FAILED if image creation has failed.
|
ImageStateChangeReason |
getStateChangeReason()
The reason why the last state change occurred.
|
String |
getVisibility()
The visibility of an image to the user; images can be public or private.
|
int |
hashCode() |
Boolean |
isImageBuilderSupported()
Whether an image builder can be launched from this image.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setApplications(Collection<Application> applications)
The applications associated with an image.
|
void |
setArn(String arn)
The ARN for the image.
|
void |
setBaseImageArn(String baseImageArn)
The source image ARN from which this image was created.
|
void |
setCreatedTime(Date createdTime)
The timestamp when the image was created.
|
void |
setDescription(String description)
A meaningful description for the image.
|
void |
setDisplayName(String displayName)
The display name for the image.
|
void |
setImageBuilderSupported(Boolean imageBuilderSupported)
Whether an image builder can be launched from this image.
|
void |
setName(String name)
The unique identifier for the image.
|
void |
setPlatform(PlatformType platform)
The operating system platform of the image.
|
void |
setPlatform(String platform)
The operating system platform of the image.
|
void |
setPublicBaseImageReleasedDate(Date publicBaseImageReleasedDate)
The AWS release date of the public base image.
|
void |
setState(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.
|
void |
setState(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.
|
void |
setStateChangeReason(ImageStateChangeReason stateChangeReason)
The reason why the last state change occurred.
|
void |
setVisibility(String visibility)
The visibility of an image to the user; images can be public or private.
|
void |
setVisibility(VisibilityType visibility)
The visibility of an image to the user; images can be public or private.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Image |
withApplications(Application... applications)
The applications associated with an image.
|
Image |
withApplications(Collection<Application> applications)
The applications associated with an image.
|
Image |
withArn(String arn)
The ARN for the image.
|
Image |
withBaseImageArn(String baseImageArn)
The source image ARN from which this image was created.
|
Image |
withCreatedTime(Date createdTime)
The timestamp when the image was created.
|
Image |
withDescription(String description)
A meaningful description for the image.
|
Image |
withDisplayName(String displayName)
The display name for the image.
|
Image |
withImageBuilderSupported(Boolean imageBuilderSupported)
Whether an image builder can be launched from this image.
|
Image |
withName(String name)
The unique identifier for the image.
|
Image |
withPlatform(PlatformType platform)
The operating system platform of the image.
|
Image |
withPlatform(String platform)
The operating system platform of the image.
|
Image |
withPublicBaseImageReleasedDate(Date publicBaseImageReleasedDate)
The AWS release date of the public base image.
|
Image |
withState(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 |
withState(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 |
withStateChangeReason(ImageStateChangeReason stateChangeReason)
The reason why the last state change occurred.
|
Image |
withVisibility(String visibility)
The visibility of an image to the user; images can be public or private.
|
Image |
withVisibility(VisibilityType visibility)
The visibility of an image to the user; images can be public or private.
|
public void setName(String name)
The unique identifier for the image.
name - The unique identifier for the image.public String getName()
The unique identifier for the image.
public Image withName(String name)
The unique identifier for the image.
name - The unique identifier for the image.public void setArn(String arn)
The ARN for the image.
arn - The ARN for the image.public String getArn()
The ARN for the image.
public Image withArn(String arn)
The ARN for the image.
arn - The ARN for the image.public void setBaseImageArn(String baseImageArn)
The source image ARN from which this image was created.
baseImageArn - The source image ARN from which this image was created.public String getBaseImageArn()
The source image ARN from which this image was created.
public Image withBaseImageArn(String baseImageArn)
The source image ARN from which this image was created.
baseImageArn - The source image ARN from which this image was created.public void setDisplayName(String displayName)
The display name for the image.
displayName - The display name for the image.public String getDisplayName()
The display name for the image.
public Image withDisplayName(String displayName)
The display name for the image.
displayName - The display name for the image.public void setState(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.ImageStatepublic String getState()
The image starts in the PENDING state, and then moves to AVAILABLE if image creation succeeds and FAILED if image creation has failed.
ImageStatepublic Image withState(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.ImageStatepublic void setState(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.ImageStatepublic Image withState(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.ImageStatepublic void setVisibility(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.VisibilityTypepublic String getVisibility()
The visibility of an image to the user; images can be public or private.
VisibilityTypepublic Image withVisibility(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.VisibilityTypepublic void setVisibility(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.VisibilityTypepublic Image withVisibility(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.VisibilityTypepublic void setImageBuilderSupported(Boolean imageBuilderSupported)
Whether an image builder can be launched from this image.
imageBuilderSupported - Whether an image builder can be launched from this image.public Boolean getImageBuilderSupported()
Whether an image builder can be launched from this image.
public Image withImageBuilderSupported(Boolean imageBuilderSupported)
Whether an image builder can be launched from this image.
imageBuilderSupported - Whether an image builder can be launched from this image.public Boolean isImageBuilderSupported()
Whether an image builder can be launched from this image.
public void setPlatform(String platform)
The operating system platform of the image.
platform - The operating system platform of the image.PlatformTypepublic String getPlatform()
The operating system platform of the image.
PlatformTypepublic Image withPlatform(String platform)
The operating system platform of the image.
platform - The operating system platform of the image.PlatformTypepublic void setPlatform(PlatformType platform)
The operating system platform of the image.
platform - The operating system platform of the image.PlatformTypepublic Image withPlatform(PlatformType platform)
The operating system platform of the image.
platform - The operating system platform of the image.PlatformTypepublic void setDescription(String description)
A meaningful description for the image.
description - A meaningful description for the image.public String getDescription()
A meaningful description for the image.
public Image withDescription(String description)
A meaningful description for the image.
description - A meaningful description for the image.public void setStateChangeReason(ImageStateChangeReason stateChangeReason)
The reason why the last state change occurred.
stateChangeReason - The reason why the last state change occurred.public ImageStateChangeReason getStateChangeReason()
The reason why the last state change occurred.
public Image withStateChangeReason(ImageStateChangeReason stateChangeReason)
The reason why the last state change occurred.
stateChangeReason - The reason why the last state change occurred.public List<Application> getApplications()
The applications associated with an image.
public void setApplications(Collection<Application> applications)
The applications associated with an image.
applications - The applications associated with an image.public Image withApplications(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.public Image withApplications(Collection<Application> applications)
The applications associated with an image.
applications - The applications associated with an image.public void setCreatedTime(Date createdTime)
The timestamp when the image was created.
createdTime - The timestamp when the image was created.public Date getCreatedTime()
The timestamp when the image was created.
public Image withCreatedTime(Date createdTime)
The timestamp when the image was created.
createdTime - The timestamp when the image was created.public void setPublicBaseImageReleasedDate(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.public Date getPublicBaseImageReleasedDate()
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.
public Image withPublicBaseImageReleasedDate(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.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.