@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
The block device mapping entries.
|
String |
getBootMode() |
String |
getDescription()
A description for the AMI.
|
String |
getImageId()
The ID of the AMI.
|
String |
getKernelId()
The kernel ID.
|
List<LaunchPermission> |
getLaunchPermissions()
The launch permissions.
|
List<ProductCode> |
getProductCodes()
The product codes.
|
String |
getRamdiskId()
The RAM disk ID.
|
String |
getSriovNetSupport()
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
int |
hashCode() |
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
The block device mapping entries.
|
void |
setBootMode(String bootMode) |
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)
The launch permissions.
|
void |
setProductCodes(Collection<ProductCode> productCodes)
The product codes.
|
void |
setRamdiskId(String ramdiskId)
The RAM disk ID.
|
void |
setSriovNetSupport(String sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
String |
toString()
Returns a string representation of this object.
|
ImageAttribute |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
The block device mapping entries.
|
ImageAttribute |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
The block device mapping entries.
|
ImageAttribute |
withBootMode(String bootMode) |
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)
The launch permissions.
|
ImageAttribute |
withLaunchPermissions(LaunchPermission... launchPermissions)
The launch permissions.
|
ImageAttribute |
withProductCodes(Collection<ProductCode> productCodes)
The product codes.
|
ImageAttribute |
withProductCodes(ProductCode... productCodes)
The product codes.
|
ImageAttribute |
withRamdiskId(String ramdiskId)
The RAM disk ID.
|
ImageAttribute |
withSriovNetSupport(String sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
public List<BlockDeviceMapping> getBlockDeviceMappings()
The block device mapping entries.
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
The block device mapping entries.
blockDeviceMappings
- The block device mapping entries.public ImageAttribute withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
The 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
- The block device mapping entries.public ImageAttribute withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
The block device mapping entries.
blockDeviceMappings
- The block device mapping entries.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()
The launch permissions.
public void setLaunchPermissions(Collection<LaunchPermission> launchPermissions)
The launch permissions.
launchPermissions
- The launch permissions.public ImageAttribute withLaunchPermissions(LaunchPermission... launchPermissions)
The 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
- The launch permissions.public ImageAttribute withLaunchPermissions(Collection<LaunchPermission> launchPermissions)
The launch permissions.
launchPermissions
- The launch permissions.public List<ProductCode> getProductCodes()
The product codes.
public void setProductCodes(Collection<ProductCode> productCodes)
The product codes.
productCodes
- The product codes.public ImageAttribute withProductCodes(ProductCode... productCodes)
The 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
- The product codes.public ImageAttribute withProductCodes(Collection<ProductCode> productCodes)
The product codes.
productCodes
- The product codes.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 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 setSriovNetSupport(String sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sriovNetSupport
- Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.public String getSriovNetSupport()
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
public ImageAttribute withSriovNetSupport(String sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sriovNetSupport
- Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.public void setBootMode(String bootMode)
bootMode
- public String getBootMode()
public ImageAttribute withBootMode(String bootMode)
bootMode
- public String toString()
toString
in class Object
Object.toString()
public ImageAttribute clone()