|
|||||||
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(java.lang.Object obj)
|
java.util.List<BlockDeviceMapping> |
getBlockDeviceMappings()
One or more block device mapping entries. |
java.lang.String |
getDescription()
A description for the AMI. |
java.lang.String |
getImageId()
The ID of the AMI. |
java.lang.String |
getKernelId()
The kernel ID. |
java.util.List<LaunchPermission> |
getLaunchPermissions()
One or more launch permissions. |
java.util.List<ProductCode> |
getProductCodes()
One or more product codes. |
java.lang.String |
getRamdiskId()
The RAM disk ID. |
java.lang.String |
getSriovNetSupport()
|
int |
hashCode()
|
void |
setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries. |
void |
setDescription(java.lang.String description)
A description for the AMI. |
void |
setImageId(java.lang.String imageId)
The ID of the AMI. |
void |
setKernelId(java.lang.String kernelId)
The kernel ID. |
void |
setLaunchPermissions(java.util.Collection<LaunchPermission> launchPermissions)
One or more launch permissions. |
void |
setProductCodes(java.util.Collection<ProductCode> productCodes)
One or more product codes. |
void |
setRamdiskId(java.lang.String ramdiskId)
The RAM disk ID. |
void |
setSriovNetSupport(java.lang.String sriovNetSupport)
|
java.lang.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(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
One or more block device mapping entries. |
ImageAttribute |
withDescription(java.lang.String description)
A description for the AMI. |
ImageAttribute |
withImageId(java.lang.String imageId)
The ID of the AMI. |
ImageAttribute |
withKernelId(java.lang.String kernelId)
The kernel ID. |
ImageAttribute |
withLaunchPermissions(java.util.Collection<LaunchPermission> launchPermissions)
One or more launch permissions. |
ImageAttribute |
withLaunchPermissions(LaunchPermission... launchPermissions)
One or more launch permissions. |
ImageAttribute |
withProductCodes(java.util.Collection<ProductCode> productCodes)
One or more product codes. |
ImageAttribute |
withProductCodes(ProductCode... productCodes)
One or more product codes. |
ImageAttribute |
withRamdiskId(java.lang.String ramdiskId)
The RAM disk ID. |
ImageAttribute |
withSriovNetSupport(java.lang.String sriovNetSupport)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageAttribute()
Method Detail |
---|
public java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId
- The ID of the AMI.public ImageAttribute withImageId(java.lang.String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId
- The ID of the AMI.
public java.util.List<LaunchPermission> getLaunchPermissions()
public void setLaunchPermissions(java.util.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(java.util.Collection<LaunchPermission> launchPermissions)
Returns a reference to this object so that method calls can be chained together.
launchPermissions
- One or more launch permissions.
public java.util.List<ProductCode> getProductCodes()
public void setProductCodes(java.util.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(java.util.Collection<ProductCode> productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes
- One or more product codes.
public java.lang.String getKernelId()
public void setKernelId(java.lang.String kernelId)
kernelId
- The kernel ID.public ImageAttribute withKernelId(java.lang.String kernelId)
Returns a reference to this object so that method calls can be chained together.
kernelId
- The kernel ID.
public java.lang.String getRamdiskId()
public void setRamdiskId(java.lang.String ramdiskId)
ramdiskId
- The RAM disk ID.public ImageAttribute withRamdiskId(java.lang.String ramdiskId)
Returns a reference to this object so that method calls can be chained together.
ramdiskId
- The RAM disk ID.
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- A description for the AMI.public ImageAttribute withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description for the AMI.
public java.lang.String getSriovNetSupport()
public void setSriovNetSupport(java.lang.String sriovNetSupport)
sriovNetSupport
- public ImageAttribute withSriovNetSupport(java.lang.String sriovNetSupport)
Returns a reference to this object so that method calls can be chained together.
sriovNetSupport
-
public java.util.List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |