Describes a load-based auto scaling upscaling or downscaling threshold configuration, which specifies when AWS OpsWorks starts or stops load-based instances.

 /// <summary>
 /// Sets the UpScaling property
 /// </summary>
 /// <param name="upScaling">The value to set for the UpScaling property </param>
 /// <returns>this instance</returns>
 public SetLoadBasedAutoScalingRequest WithUpScaling(AutoScalingThresholds upScaling)
 {
     this.upScaling = upScaling;
     return this;
 }
 public SetLoadBasedAutoScalingRequest WithDownScaling(AutoScalingThresholds downScaling)
 {
     this.downScaling = downScaling;
     return(this);
 }
 /// <summary>
 /// Sets the DownScaling property
 /// </summary>
 /// <param name="downScaling">The value to set for the DownScaling property </param>
 /// <returns>this instance</returns>
 public SetLoadBasedAutoScalingRequest WithDownScaling(AutoScalingThresholds downScaling)
 {
     this.downScaling = downScaling;
     return this;
 }
 public SetLoadBasedAutoScalingRequest WithUpScaling(AutoScalingThresholds upScaling)
 {
     this.upScaling = upScaling;
     return(this);
 }
 public LoadBasedAutoScalingConfiguration WithDownScaling(AutoScalingThresholds downScaling)
 {
     this.downScaling = downScaling;
     return this;
 }
 public LoadBasedAutoScalingConfiguration WithUpScaling(AutoScalingThresholds upScaling)
 {
     this.upScaling = upScaling;
     return this;
 }
예제 #7
0
 /// <summary>
 /// Sets the DownScaling property
 /// </summary>
 /// <param name="downScaling">The value to set for the DownScaling property </param>
 /// <returns>this instance</returns>
 public LoadBasedAutoScalingConfiguration WithDownScaling(AutoScalingThresholds downScaling)
 {
     this.downScaling = downScaling;
     return(this);
 }
예제 #8
0
 /// <summary>
 /// Sets the UpScaling property
 /// </summary>
 /// <param name="upScaling">The value to set for the UpScaling property </param>
 /// <returns>this instance</returns>
 public LoadBasedAutoScalingConfiguration WithUpScaling(AutoScalingThresholds upScaling)
 {
     this.upScaling = upScaling;
     return(this);
 }