|
||||||||||
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
Describes an image attribute.
Constructor Summary | |
---|---|
ImageAttribute()
|
Method Summary | |
---|---|
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)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, 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 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 AMI.
public List<LaunchPermission> getLaunchPermissions()
public void setLaunchPermissions(Collection<LaunchPermission> launchPermissions)
launchPermissions
- One or more launch permissions.public ImageAttribute withLaunchPermissions(LaunchPermission... launchPermissions)
Returns a reference to this object so that method calls can be chained together.
launchPermissions
- One or more launch permissions.
public ImageAttribute withLaunchPermissions(Collection<LaunchPermission> launchPermissions)
Returns a reference to this object so that method calls can be chained together.
launchPermissions
- One or more launch permissions.
public List<ProductCode> getProductCodes()
public void setProductCodes(Collection<ProductCode> productCodes)
productCodes
- One or more product codes.public ImageAttribute withProductCodes(ProductCode... productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes
- One or more product codes.
public ImageAttribute withProductCodes(Collection<ProductCode> productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes
- One or more product codes.
public String getKernelId()
public void setKernelId(String kernelId)
kernelId
- The kernel ID.public ImageAttribute withKernelId(String kernelId)
Returns a reference to this object so that method calls can be chained together.
kernelId
- The kernel ID.
public String getRamdiskId()
public void setRamdiskId(String ramdiskId)
ramdiskId
- The RAM disk ID.public ImageAttribute withRamdiskId(String ramdiskId)
Returns a reference to this object so that method calls can be chained together.
ramdiskId
- The RAM disk ID.
public String getDescription()
public void setDescription(String description)
description
- A description for the AMI.public ImageAttribute withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description for the AMI.
public String getSriovNetSupport()
public void setSriovNetSupport(String sriovNetSupport)
sriovNetSupport
- public ImageAttribute withSriovNetSupport(String sriovNetSupport)
Returns a reference to this object so that method calls can be chained together.
sriovNetSupport
-
public List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
blockDeviceMappings
- One or more block device mapping entries.public ImageAttribute withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- One or more block device mapping entries.
public ImageAttribute withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- One or more block device mapping entries.
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 |