Examples of RebootInstancesInfoType


Examples of com.amazon.ec2.RebootInstancesInfoType

    public RebootInstancesResponse rebootInstances(RebootInstances rebootInstances) {
        EC2RebootInstances request = new EC2RebootInstances();
        RebootInstancesType rit = rebootInstances.getRebootInstances();

        // -> toEC2StartInstances
        RebootInstancesInfoType rist = rit.getInstancesSet();
        RebootInstancesItemType[] items = rist.getItem();
        if (null != items) {  // -> should not be empty
            for (int i = 0; i < items.length; i++)
                request.addInstanceId(items[i].getInstanceId());
        }
        return toRebootInstancesResponse(engine.rebootInstances(request));
View Full Code Here

Examples of org.nimbustools.messaging.gt4_0_elastic.generated.v2010_08_31.RebootInstancesInfoType

            throw new IllegalArgumentException("manager may not be null");
        }

        final List instanceIDs = new LinkedList();
       
        final RebootInstancesInfoType rebootSet = req.getInstancesSet();
        if (rebootSet != null) {
            final RebootInstancesItemType[] riits = rebootSet.getItem();
            if (riits != null) {
                for (int i = 0; i < riits.length; i++) {
                    final RebootInstancesItemType riit = riits[i];
                    if (riit != null) {
                        final String instanceID = riit.getInstanceId();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.