Examples of SpotInstanceRequestSetItemType


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

        }
       
        LaunchSpecificationResponseType launchSpec = getLaunchSpec(result);
        String type = result.isPersistent()? PERSISTENT : ONE_TIME;
       
        SpotInstanceRequestSetItemType sirsi = new SpotInstanceRequestSetItemType();

        sirsi.setLaunchSpecification(launchSpec);
        sirsi.setType(type);
        sirsi.setSpotPrice(result.getSpotPrice().toString());
        sirsi.setSpotInstanceRequestId(result.getRequestID());
        sirsi.setState(result.getState().getStateStr());
        sirsi.setCreateTime(result.getCreationTime());
        if(instID != null){
            sirsi.setInstanceId(instID);
        }     

        return sirsi;
    }   
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.