ToCopyableBuilder<Image.Builder,Image>
@Generated("software.amazon.awssdk:codegen") public class Image extends Object implements ToCopyableBuilder<Image.Builder,Image>
Describes an image.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Image.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
architecture() |
The architecture of the image.
|
List<BlockDeviceMapping> |
blockDeviceMappings() |
Any block device mapping entries.
|
static Image.Builder |
builder() |
|
String |
creationDate() |
The date and time the image was created.
|
String |
description() |
The description of the AMI that was provided during image creation.
|
Boolean |
enaSupport() |
Specifies whether enhanced networking with ENA is enabled.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
hypervisor() |
The hypervisor type of the image.
|
String |
imageId() |
The ID of the AMI.
|
String |
imageLocation() |
The location of the AMI.
|
String |
imageOwnerAlias() |
The AWS account alias (for example,
amazon , self ) or the AWS account ID of the AMI
owner. |
String |
imageType() |
The type of image.
|
String |
kernelId() |
The kernel associated with the image, if any.
|
String |
name() |
The name of the AMI that was provided during image creation.
|
String |
ownerId() |
The AWS account ID of the image owner.
|
String |
platform() |
The value is
Windows for Windows AMIs; otherwise blank. |
List<ProductCode> |
productCodes() |
Any product codes associated with the AMI.
|
Boolean |
publicLaunchPermissions() |
Indicates whether the image has public launch permissions.
|
String |
ramdiskId() |
The RAM disk associated with the image, if any.
|
String |
rootDeviceName() |
The device name of the root device (for example,
/dev/sda1 or /dev/xvda ). |
String |
rootDeviceType() |
The type of root device used by the AMI.
|
static Class<? extends Image.Builder> |
serializableBuilderClass() |
|
String |
sriovNetSupport() |
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
String |
state() |
The current state of the AMI.
|
StateReason |
stateReason() |
The reason for the state change.
|
List<Tag> |
tags() |
Any tags assigned to the image.
|
Image.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
virtualizationType() |
The type of virtualization of the AMI.
|
public String architecture()
The architecture of the image.
ArchitectureValues
public String creationDate()
The date and time the image was created.
public String imageId()
The ID of the AMI.
public String imageLocation()
The location of the AMI.
public String imageType()
The type of image.
ImageTypeValues
public String kernelId()
The kernel associated with the image, if any. Only applicable for machine images.
public String ownerId()
The AWS account ID of the image owner.
public String platform()
The value is Windows
for Windows AMIs; otherwise blank.
Windows
for Windows AMIs; otherwise blank.PlatformValues
public List<ProductCode> productCodes()
Any product codes associated with the AMI.
public String ramdiskId()
The RAM disk associated with the image, if any. Only applicable for machine images.
public String state()
The current state of the AMI. If the state is available
, the image is successfully registered and
can be used to launch an instance.
available
, the image is successfully
registered and can be used to launch an instance.ImageState
public List<BlockDeviceMapping> blockDeviceMappings()
Any block device mapping entries.
public String description()
The description of the AMI that was provided during image creation.
public Boolean enaSupport()
Specifies whether enhanced networking with ENA is enabled.
public String hypervisor()
The hypervisor type of the image.
HypervisorType
public String imageOwnerAlias()
The AWS account alias (for example, amazon
, self
) or the AWS account ID of the AMI
owner.
amazon
, self
) or the AWS account ID of the
AMI owner.public String name()
The name of the AMI that was provided during image creation.
public String rootDeviceName()
The device name of the root device (for example, /dev/sda1
or /dev/xvda
).
/dev/sda1
or /dev/xvda
).public String rootDeviceType()
The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.
DeviceType
public String sriovNetSupport()
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
public StateReason stateReason()
The reason for the state change.
public List<Tag> tags()
Any tags assigned to the image.
public String virtualizationType()
The type of virtualization of the AMI.
VirtualizationType
public Boolean publicLaunchPermissions()
Indicates whether the image has public launch permissions. The value is true
if this image has
public launch permissions or false
if it has only implicit and explicit launch permissions.
true
if this image
has public launch permissions or false
if it has only implicit and explicit launch
permissions.public Image.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Image.Builder,Image>
public static Image.Builder builder()
public static Class<? extends Image.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.