All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shiver.me.timbers.aws.opsworks.LayerLoadBasedAutoScaling Maven / Gradle / Ivy

Go to download

This library is a complete mapping of the AWS CloudFormation Resource Specification into Java objects. The objects have been generated directly from the specification so should be a direct one to one mapping.

The newest version!

package shiver.me.timbers.aws.opsworks;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;


/**
 * LayerLoadBasedAutoScaling
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "DownScaling", "Enable", "UpScaling" }) public class LayerLoadBasedAutoScaling implements Property { /** * LayerAutoScalingThresholds *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html * */ @JsonProperty("DownScaling") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html") private Property downScaling; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-enable * */ @JsonProperty("Enable") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-enable") private CharSequence enable; /** * LayerAutoScalingThresholds *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html * */ @JsonProperty("UpScaling") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html") private Property upScaling; /** * LayerAutoScalingThresholds *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html * */ @JsonIgnore public Property getDownScaling() { return downScaling; } /** * LayerAutoScalingThresholds *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html * */ @JsonIgnore public void setDownScaling(Property downScaling) { this.downScaling = downScaling; } public LayerLoadBasedAutoScaling withDownScaling(Property downScaling) { this.downScaling = downScaling; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-enable * */ @JsonIgnore public CharSequence getEnable() { return enable; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-enable * */ @JsonIgnore public void setEnable(CharSequence enable) { this.enable = enable; } public LayerLoadBasedAutoScaling withEnable(CharSequence enable) { this.enable = enable; return this; } /** * LayerAutoScalingThresholds *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html * */ @JsonIgnore public Property getUpScaling() { return upScaling; } /** * LayerAutoScalingThresholds *

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html * */ @JsonIgnore public void setUpScaling(Property upScaling) { this.upScaling = upScaling; } public LayerLoadBasedAutoScaling withUpScaling(Property upScaling) { this.upScaling = upScaling; return this; } @Override public String toString() { return new ToStringBuilder(this).append("downScaling", downScaling).append("enable", enable).append("upScaling", upScaling).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(downScaling).append(upScaling).append(enable).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof LayerLoadBasedAutoScaling) == false) { return false; } LayerLoadBasedAutoScaling rhs = ((LayerLoadBasedAutoScaling) other); return new EqualsBuilder().append(downScaling, rhs.downScaling).append(upScaling, rhs.upScaling).append(enable, rhs.enable).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy