Examples of SetDesiredCapacityRequest


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
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.