Class ImageAttribute
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an image attribute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
One or more block device mapping entries.A description for the AMI.The ID of the AMI.The kernel ID.One or more launch permissions.One or more product codes.The RAM disk ID.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) toString()
Returns a string representation of this object; useful for testing and debugging.withBlockDeviceMappings
(BlockDeviceMapping... blockDeviceMappings) One or more block device mapping entries.withBlockDeviceMappings
(Collection<BlockDeviceMapping> blockDeviceMappings) One or more block device mapping entries.withDescription
(String description) A description for the AMI.withImageId
(String imageId) The ID of the AMI.withKernelId
(String kernelId) The kernel ID.withLaunchPermissions
(LaunchPermission... launchPermissions) One or more launch permissions.withLaunchPermissions
(Collection<LaunchPermission> launchPermissions) One or more launch permissions.withProductCodes
(ProductCode... productCodes) One or more product codes.withProductCodes
(Collection<ProductCode> productCodes) One or more product codes.withRamdiskId
(String ramdiskId) The RAM disk ID.withSriovNetSupport
(String sriovNetSupport)
-
Constructor Details
-
ImageAttribute
public ImageAttribute()
-
-
Method Details
-
setImageId
The ID of the AMI.
- Parameters:
imageId
- The ID of the AMI.
-
getImageId
The ID of the AMI.
- Returns:
- The ID of the AMI.
-
withImageId
The ID of the AMI.
- Parameters:
imageId
- The ID of the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLaunchPermissions
One or more launch permissions.
- Returns:
- One or more launch permissions.
-
setLaunchPermissions
One or more launch permissions.
- Parameters:
launchPermissions
- One or more launch permissions.
-
withLaunchPermissions
One or more launch permissions.
NOTE: This method appends the values to the existing list (if any). Use
setLaunchPermissions(java.util.Collection)
orwithLaunchPermissions(java.util.Collection)
if you want to override the existing values.- Parameters:
launchPermissions
- One or more launch permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLaunchPermissions
One or more launch permissions.
- Parameters:
launchPermissions
- One or more launch permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getProductCodes
One or more product codes.
- Returns:
- One or more product codes.
-
setProductCodes
One or more product codes.
- Parameters:
productCodes
- One or more product codes.
-
withProductCodes
One or more product codes.
NOTE: This method appends the values to the existing list (if any). Use
setProductCodes(java.util.Collection)
orwithProductCodes(java.util.Collection)
if you want to override the existing values.- Parameters:
productCodes
- One or more product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withProductCodes
One or more product codes.
- Parameters:
productCodes
- One or more product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setKernelId
The kernel ID.
- Parameters:
kernelId
- The kernel ID.
-
getKernelId
The kernel ID.
- Returns:
- The kernel ID.
-
withKernelId
The kernel ID.
- Parameters:
kernelId
- The kernel ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRamdiskId
The RAM disk ID.
- Parameters:
ramdiskId
- The RAM disk ID.
-
getRamdiskId
The RAM disk ID.
- Returns:
- The RAM disk ID.
-
withRamdiskId
The RAM disk ID.
- Parameters:
ramdiskId
- The RAM disk ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A description for the AMI.
- Parameters:
description
- A description for the AMI.
-
getDescription
A description for the AMI.
- Returns:
- A description for the AMI.
-
withDescription
A description for the AMI.
- Parameters:
description
- A description for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSriovNetSupport
- Parameters:
sriovNetSupport
-
-
getSriovNetSupport
- Returns:
-
withSriovNetSupport
- Parameters:
sriovNetSupport
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getBlockDeviceMappings
One or more block device mapping entries.
- Returns:
- One or more block device mapping entries.
-
setBlockDeviceMappings
One or more block device mapping entries.
- Parameters:
blockDeviceMappings
- One or more block device mapping entries.
-
withBlockDeviceMappings
One or more block device mapping entries.
NOTE: This method appends the values to the existing list (if any). Use
setBlockDeviceMappings(java.util.Collection)
orwithBlockDeviceMappings(java.util.Collection)
if you want to override the existing values.- Parameters:
blockDeviceMappings
- One or more block device mapping entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withBlockDeviceMappings
One or more block device mapping entries.
- Parameters:
blockDeviceMappings
- One or more block device mapping entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-