@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)
Marshalls this structured data using the given
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.ImageState
public 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.
ImageState
public 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.ImageState
public 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.ImageState
public 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.ImageState
public 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.VisibilityType
public String getVisibility()
The visibility of an image to the user; images can be public or private.
VisibilityType
public 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.VisibilityType
public 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.VisibilityType
public 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.VisibilityType
public 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.PlatformType
public String getPlatform()
The operating system platform of the image.
PlatformType
public Image withPlatform(String platform)
The operating system platform of the image.
platform
- The operating system platform of the image.PlatformType
public void setPlatform(PlatformType platform)
The operating system platform of the image.
platform
- The operating system platform of the image.PlatformType
public Image withPlatform(PlatformType platform)
The operating system platform of the image.
platform
- The operating system platform of the image.PlatformType
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.