public class ImageAttribute
extends java.lang.Object
implements java.io.Serializable
Represents an attribute of an Amazon Machine Image (AMI).
| コンストラクタと説明 |
|---|
ImageAttribute() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<BlockDeviceMapping> |
getBlockDeviceMappings()
Block device mappings for the associated AMI.
|
java.lang.String |
getDescription()
User-created description of the associated AMI.
|
java.lang.String |
getImageId()
The ID of the associated AMI.
|
java.lang.String |
getKernelId()
Kernel ID of the associated AMI.
|
java.util.List<LaunchPermission> |
getLaunchPermissions()
Launch permissions for the associated AMI.
|
java.util.List<ProductCode> |
getProductCodes()
Product codes for the associated AMI.
|
java.lang.String |
getRamdiskId()
Ramdisk ID of the associated AMI.
|
int |
hashCode() |
void |
setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
Block device mappings for the associated AMI.
|
void |
setDescription(java.lang.String description)
User-created description of the associated AMI.
|
void |
setImageId(java.lang.String imageId)
The ID of the associated AMI.
|
void |
setKernelId(java.lang.String kernelId)
Kernel ID of the associated AMI.
|
void |
setLaunchPermissions(java.util.Collection<LaunchPermission> launchPermissions)
Launch permissions for the associated AMI.
|
void |
setProductCodes(java.util.Collection<ProductCode> productCodes)
Product codes for the associated AMI.
|
void |
setRamdiskId(java.lang.String ramdiskId)
Ramdisk ID of the associated AMI.
|
java.lang.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(java.util.Collection<BlockDeviceMapping> blockDeviceMappings)
Block device mappings for the associated AMI.
|
ImageAttribute |
withDescription(java.lang.String description)
User-created description of the associated AMI.
|
ImageAttribute |
withImageId(java.lang.String imageId)
The ID of the associated AMI.
|
ImageAttribute |
withKernelId(java.lang.String kernelId)
Kernel ID of the associated AMI.
|
ImageAttribute |
withLaunchPermissions(java.util.Collection<LaunchPermission> launchPermissions)
Launch permissions for the associated AMI.
|
ImageAttribute |
withLaunchPermissions(LaunchPermission... launchPermissions)
Launch permissions for the associated AMI.
|
ImageAttribute |
withProductCodes(java.util.Collection<ProductCode> productCodes)
Product codes for the associated AMI.
|
ImageAttribute |
withProductCodes(ProductCode... productCodes)
Product codes for the associated AMI.
|
ImageAttribute |
withRamdiskId(java.lang.String ramdiskId)
Ramdisk ID of the associated AMI.
|
public java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId - The ID of the associated 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 associated AMI.public java.util.List<LaunchPermission> getLaunchPermissions()
public void setLaunchPermissions(java.util.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(java.util.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 java.util.List<ProductCode> getProductCodes()
public void setProductCodes(java.util.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(java.util.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 java.lang.String getKernelId()
public void setKernelId(java.lang.String kernelId)
kernelId - Kernel ID of the associated AMI.public ImageAttribute withKernelId(java.lang.String kernelId)
Returns a reference to this object so that method calls can be chained together.
kernelId - Kernel ID of the associated AMI.public java.lang.String getRamdiskId()
public void setRamdiskId(java.lang.String ramdiskId)
ramdiskId - Ramdisk ID of the associated AMI.public ImageAttribute withRamdiskId(java.lang.String ramdiskId)
Returns a reference to this object so that method calls can be chained together.
ramdiskId - Ramdisk ID of the associated AMI.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - User-created description of the associated AMI.public ImageAttribute withDescription(java.lang.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 java.util.List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object