@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Image extends Object implements Serializable, Cloneable, StructuredPojo
Describes an image.
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
Image |
clone() |
boolean |
equals(Object obj) |
List<Application> |
getApplications()
The applications associated with the image.
|
String |
getArn()
The ARN of the image.
|
String |
getBaseImageArn()
The ARN of the image from which this image was created.
|
Date |
getCreatedTime()
The time the image was created.
|
String |
getDescription()
The description displayed to end users.
|
String |
getDisplayName()
The image name displayed to end users.
|
Boolean |
getImageBuilderSupported()
Indicates whether an image builder can be launched from this image.
|
String |
getName()
The name of the image.
|
String |
getPlatform()
The operating system platform of the image.
|
Date |
getPublicBaseImageReleasedDate()
The release date of the public base image.
|
String |
getState()
The image starts in the
PENDING state. |
ImageStateChangeReason |
getStateChangeReason()
The reason why the last state change occurred.
|
String |
getVisibility()
Indicates whether the image is public or private.
|
int |
hashCode() |
Boolean |
isImageBuilderSupported()
Indicates 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 the image.
|
void |
setArn(String arn)
The ARN of the image.
|
void |
setBaseImageArn(String baseImageArn)
The ARN of the image from which this image was created.
|
void |
setCreatedTime(Date createdTime)
The time the image was created.
|
void |
setDescription(String description)
The description displayed to end users.
|
void |
setDisplayName(String displayName)
The image name displayed to end users.
|
void |
setImageBuilderSupported(Boolean imageBuilderSupported)
Indicates whether an image builder can be launched from this image.
|
void |
setName(String name)
The name of 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 release date of the public base image.
|
void |
setState(ImageState state)
The image starts in the
PENDING state. |
void |
setState(String state)
The image starts in the
PENDING state. |
void |
setStateChangeReason(ImageStateChangeReason stateChangeReason)
The reason why the last state change occurred.
|
void |
setVisibility(String visibility)
Indicates whether the image is public or private.
|
void |
setVisibility(VisibilityType visibility)
Indicates whether the image is 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 the image.
|
Image |
withApplications(Collection<Application> applications)
The applications associated with the image.
|
Image |
withArn(String arn)
The ARN of the image.
|
Image |
withBaseImageArn(String baseImageArn)
The ARN of the image from which this image was created.
|
Image |
withCreatedTime(Date createdTime)
The time the image was created.
|
Image |
withDescription(String description)
The description displayed to end users.
|
Image |
withDisplayName(String displayName)
The image name displayed to end users.
|
Image |
withImageBuilderSupported(Boolean imageBuilderSupported)
Indicates whether an image builder can be launched from this image.
|
Image |
withName(String name)
The name of 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 release date of the public base image.
|
Image |
withState(ImageState state)
The image starts in the
PENDING state. |
Image |
withState(String state)
The image starts in the
PENDING state. |
Image |
withStateChangeReason(ImageStateChangeReason stateChangeReason)
The reason why the last state change occurred.
|
Image |
withVisibility(String visibility)
Indicates whether the image is public or private.
|
Image |
withVisibility(VisibilityType visibility)
Indicates whether the image is public or private.
|
public void setName(String name)
The name of the image.
name
- The name of the image.public String getName()
The name of the image.
public Image withName(String name)
The name of the image.
name
- The name of the image.public void setArn(String arn)
The ARN of the image.
arn
- The ARN of the image.public String getArn()
The ARN of the image.
public Image withArn(String arn)
The ARN of the image.
arn
- The ARN of the image.public void setBaseImageArn(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.public String getBaseImageArn()
The ARN of the image from which this image was created.
public Image withBaseImageArn(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.public void setDisplayName(String displayName)
The image name displayed to end users.
displayName
- The image name displayed to end users.public String getDisplayName()
The image name displayed to end users.
public Image withDisplayName(String displayName)
The image name displayed to end users.
displayName
- The image name displayed to end users.public void setState(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
public String getState()
The image starts in the PENDING
state. If image creation succeeds, the state is
AVAILABLE
. If image creation fails, the state is FAILED
.
PENDING
state. If image creation succeeds, the state is
AVAILABLE
. If image creation fails, the state is FAILED
.ImageState
public Image withState(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
public void setState(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
public Image withState(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
public void setVisibility(String visibility)
Indicates whether the image is public or private.
visibility
- Indicates whether the image is public or private.VisibilityType
public String getVisibility()
Indicates whether the image is public or private.
VisibilityType
public Image withVisibility(String visibility)
Indicates whether the image is public or private.
visibility
- Indicates whether the image is public or private.VisibilityType
public void setVisibility(VisibilityType visibility)
Indicates whether the image is public or private.
visibility
- Indicates whether the image is public or private.VisibilityType
public Image withVisibility(VisibilityType visibility)
Indicates whether the image is public or private.
visibility
- Indicates whether the image is public or private.VisibilityType
public void setImageBuilderSupported(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.public Boolean getImageBuilderSupported()
Indicates whether an image builder can be launched from this image.
public Image withImageBuilderSupported(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.public Boolean isImageBuilderSupported()
Indicates 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)
The description displayed to end users.
description
- The description displayed to end users.public String getDescription()
The description displayed to end users.
public Image withDescription(String description)
The description displayed to end users.
description
- The description displayed to end users.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 the image.
public void setApplications(Collection<Application> applications)
The applications associated with the image.
applications
- The applications associated with the image.public Image withApplications(Application... applications)
The applications associated with the 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 the image.public Image withApplications(Collection<Application> applications)
The applications associated with the image.
applications
- The applications associated with the image.public void setCreatedTime(Date createdTime)
The time the image was created.
createdTime
- The time the image was created.public Date getCreatedTime()
The time the image was created.
public Image withCreatedTime(Date createdTime)
The time the image was created.
createdTime
- The time the image was created.public void setPublicBaseImageReleasedDate(Date 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.public Date getPublicBaseImageReleasedDate()
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.
public Image withPublicBaseImageReleasedDate(Date 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.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.