Examples of SuspendedProcess


Examples of com.amazonaws.services.autoscaling.model.SuspendedProcess

    private AutoScalingGroup mkASG(String asgName) {
        AutoScalingGroup asg = new AutoScalingGroup().withAutoScalingGroupName(asgName);
        // set the suspended processes
        List<SuspendedProcess> sps = new ArrayList<SuspendedProcess>();
        sps.add(new SuspendedProcess().withProcessName("Launch")
                .withSuspensionReason("User suspended at 2012-12-02T23:00:03"));
        sps.add(new SuspendedProcess().withProcessName("AddToLoadBalancer")
                .withSuspensionReason("User suspended at 2012-12-03T23:00:03"));
        asg.setSuspendedProcesses(sps);
        return asg;
    }
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.