Example usage for com.amazonaws.services.ec2.model Reservation setReservationId

List of usage examples for com.amazonaws.services.ec2.model Reservation setReservationId

Introduction

In this page you can find the example usage for com.amazonaws.services.ec2.model Reservation setReservationId.

Prototype


public void setReservationId(String reservationId) 

Source Link

Document

The ID of the reservation.

Usage

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());// w w w.  j  a  va 2 s .co  m
    to.setRequesterId(from.getRequestId());
    to.setGroupNames(from.getGroups());
    to.setInstances(new InstanceConverter().convert(from.getInstances()));

    return to;
}