Package com.amazonaws.services.autoscaling.model

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


    int currentSize = scalingGroup.getDesiredCapacity();

    TerminateInstanceInAutoScalingGroupRequest request = new TerminateInstanceInAutoScalingGroupRequest()
        .withInstanceId(this.instanceId)
        .withShouldDecrementDesiredCapacity(true);
    TerminateInstanceInAutoScalingGroupResult result = getClient().getApi()
        .terminateInstanceInAutoScalingGroup(request);

    awaitGroupSize(currentSize - 1);
    return null;
  }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.autoscaling.model.TerminateInstanceInAutoScalingGroupResult

Copyright © 2018 www.massapicom. 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.