|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.ImageAttribute
public class ImageAttribute
Represents an attribute of an Amazon Machine Image (AMI).
Constructor Summary | |
---|---|
ImageAttribute()
|
Method Summary | |
---|---|
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. |
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. |
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageAttribute()
Method Detail |
---|
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 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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |