List of usage examples for com.amazonaws.services.ec2.model Reservation setOwnerId
public void setOwnerId(String ownerId)
The ID of the AWS account that owns the reservation.
From source file:jp.primecloud.auto.aws.typica.converter.ReservationConverter.java
License:Open Source License
@Override protected Reservation convertObject(ReservationDescription from) { Reservation to = new Reservation(); to.setReservationId(from.getReservationId()); to.setOwnerId(from.getOwner()); to.setRequesterId(from.getRequestId()); to.setGroupNames(from.getGroups());/*from w ww.j a v a 2s.c o m*/ to.setInstances(new InstanceConverter().convert(from.getInstances())); return to; }