List of usage examples for com.amazonaws.services.ec2.model Image setImageOwnerAlias
public void setImageOwnerAlias(String imageOwnerAlias)
The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.
From source file:jp.primecloud.auto.aws.typica.converter.ImageConverter.java
License:Open Source License
@Override protected Image convertObject(ImageDescription from) { Image to = new Image(); to.setImageId(from.getImageId());// w ww .j av a 2 s . com to.setImageLocation(from.getImageLocation()); to.setState(from.getImageState()); to.setOwnerId(from.getImageOwnerId()); to.setPublic(from.isPublic()); to.setProductCodes(new ProductCodeConverter().convert(from.getProductCodes())); to.setArchitecture(from.getArchitecture()); to.setImageType(from.getImageType()); to.setKernelId(from.getKernelId()); to.setRamdiskId(from.getRamdiskId()); to.setPlatform(from.getPlatform()); // to.setStateReason(null); to.setImageOwnerAlias(null); to.setName(null); to.setDescription(null); //to.setRootDeviceType(null); to.setRootDeviceName(null); to.setBlockDeviceMappings(null); //to.setVirtualizationType(null); to.setTags(null); return to; }