public class ImageAttribute extends Object implements Serializable
Represents an attribute of an Amazon Machine Image (AMI).
Constructor and Description |
---|
ImageAttribute() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<BlockDeviceMapping> |
getBlockDeviceMappings()
Block device mappings for the associated AMI.
|
String |
getDescription()
User-created description of the associated AMI.
|
String |
getImageId()
The ID of the associated AMI.
|
String |
getKernelId()
Kernel ID of the associated AMI.
|
List<LaunchPermission> |
getLaunchPermissions()
Launch permissions for the associated AMI.
|
List<ProductCode> |
getProductCodes()
Product codes for the associated AMI.
|
String |
getRamdiskId()
Ramdisk ID of the associated AMI.
|
String |
getSriovNetSupport()
String value
|
int |
hashCode() |
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Block device mappings for the associated AMI.
|
void |
setDescription(String description)
User-created description of the associated AMI.
|
void |
setImageId(String imageId)
The ID of the associated AMI.
|
void |
setKernelId(String kernelId)
Kernel ID of the associated AMI.
|
void |
setLaunchPermissions(Collection<LaunchPermission> launchPermissions)
Launch permissions for the associated AMI.
|
void |
setProductCodes(Collection<ProductCode> productCodes)
Product codes for the associated AMI.
|
void |
setRamdiskId(String ramdiskId)
Ramdisk ID of the associated AMI.
|
void |
setSriovNetSupport(String sriovNetSupport)
String value
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImageAttribute |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Block device mappings for the associated AMI.
|
ImageAttribute |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Block device mappings for the associated AMI.
|
ImageAttribute |
withDescription(String description)
User-created description of the associated AMI.
|
ImageAttribute |
withImageId(String imageId)
The ID of the associated AMI.
|
ImageAttribute |
withKernelId(String kernelId)
Kernel ID of the associated AMI.
|
ImageAttribute |
withLaunchPermissions(Collection<LaunchPermission> launchPermissions)
Launch permissions for the associated AMI.
|
ImageAttribute |
withLaunchPermissions(LaunchPermission... launchPermissions)
Launch permissions for the associated AMI.
|
ImageAttribute |
withProductCodes(Collection<ProductCode> productCodes)
Product codes for the associated AMI.
|
ImageAttribute |
withProductCodes(ProductCode... productCodes)
Product codes for the associated AMI.
|
ImageAttribute |
withRamdiskId(String ramdiskId)
Ramdisk ID of the associated AMI.
|
ImageAttribute |
withSriovNetSupport(String sriovNetSupport)
String value
|
public String getImageId()
public void setImageId(String imageId)
imageId
- The ID of the associated AMI.public ImageAttribute withImageId(String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId
- The ID of the associated AMI.public List<LaunchPermission> getLaunchPermissions()
public void setLaunchPermissions(Collection<LaunchPermission> launchPermissions)
launchPermissions
- Launch permissions for the associated AMI.public ImageAttribute withLaunchPermissions(LaunchPermission... launchPermissions)
Returns a reference to this object so that method calls can be chained together.
launchPermissions
- Launch permissions for the associated AMI.public ImageAttribute withLaunchPermissions(Collection<LaunchPermission> launchPermissions)
Returns a reference to this object so that method calls can be chained together.
launchPermissions
- Launch permissions for the associated AMI.public List<ProductCode> getProductCodes()
public void setProductCodes(Collection<ProductCode> productCodes)
productCodes
- Product codes for the associated AMI.public ImageAttribute withProductCodes(ProductCode... productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes
- Product codes for the associated AMI.public ImageAttribute withProductCodes(Collection<ProductCode> productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes
- Product codes for the associated AMI.public String getKernelId()
public void setKernelId(String kernelId)
kernelId
- Kernel ID of the associated AMI.public ImageAttribute withKernelId(String kernelId)
Returns a reference to this object so that method calls can be chained together.
kernelId
- Kernel ID of the associated AMI.public String getRamdiskId()
public void setRamdiskId(String ramdiskId)
ramdiskId
- Ramdisk ID of the associated AMI.public ImageAttribute withRamdiskId(String ramdiskId)
Returns a reference to this object so that method calls can be chained together.
ramdiskId
- Ramdisk ID of the associated AMI.public String getDescription()
public void setDescription(String description)
description
- User-created description of the associated AMI.public ImageAttribute withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- User-created description of the associated AMI.public String getSriovNetSupport()
public void setSriovNetSupport(String sriovNetSupport)
sriovNetSupport
- String valuepublic ImageAttribute withSriovNetSupport(String sriovNetSupport)
Returns a reference to this object so that method calls can be chained together.
sriovNetSupport
- String valuepublic List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
blockDeviceMappings
- Block device mappings for the associated AMI.public ImageAttribute withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- Block device mappings for the associated AMI.public ImageAttribute withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- Block device mappings for the associated AMI.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.