public class ImageAttribute extends Object implements Serializable, Cloneable
Describes an image attribute.
| Constructor and Description |
|---|
ImageAttribute() |
| Modifier and Type | Method and Description |
|---|---|
ImageAttribute |
clone() |
boolean |
equals(Object obj) |
List<BlockDeviceMapping> |
getBlockDeviceMappings()
One or more block device mapping entries.
|
String |
getDescription()
A description for the AMI.
|
String |
getImageId()
The ID of the AMI.
|
String |
getKernelId()
The kernel ID.
|
List<LaunchPermission> |
getLaunchPermissions()
One or more launch permissions.
|
List<ProductCode> |
getProductCodes()
One or more product codes.
|
String |
getRamdiskId()
The RAM disk ID.
|
String |
getSriovNetSupport() |
int |
hashCode() |
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
|
void |
setDescription(String description)
A description for the AMI.
|
void |
setImageId(String imageId)
The ID of the AMI.
|
void |
setKernelId(String kernelId)
The kernel ID.
|
void |
setLaunchPermissions(Collection<LaunchPermission> launchPermissions)
One or more launch permissions.
|
void |
setProductCodes(Collection<ProductCode> productCodes)
One or more product codes.
|
void |
setRamdiskId(String ramdiskId)
The RAM disk ID.
|
void |
setSriovNetSupport(String sriovNetSupport) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImageAttribute |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
One or more block device mapping entries.
|
ImageAttribute |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
|
ImageAttribute |
withDescription(String description)
A description for the AMI.
|
ImageAttribute |
withImageId(String imageId)
The ID of the AMI.
|
ImageAttribute |
withKernelId(String kernelId)
The kernel ID.
|
ImageAttribute |
withLaunchPermissions(Collection<LaunchPermission> launchPermissions)
One or more launch permissions.
|
ImageAttribute |
withLaunchPermissions(LaunchPermission... launchPermissions)
One or more launch permissions.
|
ImageAttribute |
withProductCodes(Collection<ProductCode> productCodes)
One or more product codes.
|
ImageAttribute |
withProductCodes(ProductCode... productCodes)
One or more product codes.
|
ImageAttribute |
withRamdiskId(String ramdiskId)
The RAM disk ID.
|
ImageAttribute |
withSriovNetSupport(String sriovNetSupport) |
public void setImageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.public String getImageId()
The ID of the AMI.
public ImageAttribute withImageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.public List<LaunchPermission> getLaunchPermissions()
One or more launch permissions.
public void setLaunchPermissions(Collection<LaunchPermission> launchPermissions)
One or more launch permissions.
launchPermissions - One or more launch permissions.public ImageAttribute withLaunchPermissions(LaunchPermission... launchPermissions)
One or more launch permissions.
NOTE: This method appends the values to the existing list (if
any). Use setLaunchPermissions(java.util.Collection) or
withLaunchPermissions(java.util.Collection) if you want to
override the existing values.
launchPermissions - One or more launch permissions.public ImageAttribute withLaunchPermissions(Collection<LaunchPermission> launchPermissions)
One or more launch permissions.
launchPermissions - One or more launch permissions.public List<ProductCode> getProductCodes()
One or more product codes.
public void setProductCodes(Collection<ProductCode> productCodes)
One or more product codes.
productCodes - One or more product codes.public ImageAttribute withProductCodes(ProductCode... productCodes)
One or more product codes.
NOTE: This method appends the values to the existing list (if
any). Use setProductCodes(java.util.Collection) or
withProductCodes(java.util.Collection) if you want to override
the existing values.
productCodes - One or more product codes.public ImageAttribute withProductCodes(Collection<ProductCode> productCodes)
One or more product codes.
productCodes - One or more product codes.public void setKernelId(String kernelId)
The kernel ID.
kernelId - The kernel ID.public String getKernelId()
The kernel ID.
public ImageAttribute withKernelId(String kernelId)
The kernel ID.
kernelId - The kernel ID.public void setRamdiskId(String ramdiskId)
The RAM disk ID.
ramdiskId - The RAM disk ID.public String getRamdiskId()
The RAM disk ID.
public ImageAttribute withRamdiskId(String ramdiskId)
The RAM disk ID.
ramdiskId - The RAM disk ID.public void setDescription(String description)
A description for the AMI.
description - A description for the AMI.public String getDescription()
A description for the AMI.
public ImageAttribute withDescription(String description)
A description for the AMI.
description - A description for the AMI.public void setSriovNetSupport(String sriovNetSupport)
sriovNetSupport - public String getSriovNetSupport()
public ImageAttribute withSriovNetSupport(String sriovNetSupport)
sriovNetSupport - public List<BlockDeviceMapping> getBlockDeviceMappings()
One or more block device mapping entries.
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
blockDeviceMappings - One or more block device mapping entries.public ImageAttribute withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
One or more block device mapping entries.
NOTE: This method appends the values to the existing list (if
any). Use setBlockDeviceMappings(java.util.Collection) or
withBlockDeviceMappings(java.util.Collection) if you want to
override the existing values.
blockDeviceMappings - One or more block device mapping entries.public ImageAttribute withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries.
blockDeviceMappings - One or more block device mapping entries.public String toString()
toString in class ObjectObject.toString()public ImageAttribute clone()
Copyright © 2016. All rights reserved.