Package com.amazonaws.services.autoscaling.model

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


  /**
   * Updates the Auto Scaling group size by (re-)setting the desired capacity
   * only.
   */
  private void setDesiredSize() {
    SetDesiredCapacityRequest request = new SetDesiredCapacityRequest()
        .withAutoScalingGroupName(this.autoScalingGroup)
        .withDesiredCapacity(this.desiredCapacity)
        .withHonorCooldown(false);
    getClient().getApi().setDesiredCapacity(request);
  }
View Full Code Here

TOP

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

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.