|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AWSAMIClient
Provides access to EC2 via their REST API.
Method Summary | |
---|---|
void |
addProductCodesToImageInRegion(String region,
Iterable<String> productCodes,
String imageId)
Adds productCode s to an AMI. |
Set<String> |
getProductCodesForImageInRegion(String region,
String imageId)
Returns the Product Codes of an image. |
void |
removeProductCodesFromImageInRegion(String region,
Iterable<String> productCodes,
String imageId)
Removes productCode s from an AMI. |
Method Detail |
---|
Set<String> getProductCodesForImageInRegion(@Nullable String region, String imageId)
region
- AMIs are tied to the Region where its files are located within Amazon S3.imageId
- The ID of the AMI for which an attribute will be described#describeImages
,
#modifyImageAttribute
,
#resetImageAttribute
,
,
DescribeImagesOptions
void addProductCodesToImageInRegion(@Nullable String region, Iterable<String> productCodes, String imageId)
productCode
s to an AMI.
region
- AMIs are tied to the Region where its files are located within Amazon S3.productCodes
- Product CodesimageId
- The AMI ID.#removeProductCodesFromImage
,
#describeImageAttribute
,
#resetImageAttribute
,
void removeProductCodesFromImageInRegion(@Nullable String region, Iterable<String> productCodes, String imageId)
productCode
s from an AMI.
region
- AMIs are tied to the Region where its files are located within Amazon S3.productCodes
- Product CodesimageId
- The AMI ID.#addProductCodesToImage
,
#describeImageAttribute
,
#resetImageAttribute
,
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |