shiver.me.timbers.aws.autoscalingplans.ScalingPlanScalingInstruction Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.autoscalingplans;
import java.util.ArrayList;
import java.util.List;
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;
/**
* ScalingPlanScalingInstruction
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"DisableDynamicScaling",
"ServiceNamespace",
"PredictiveScalingMaxCapacityBehavior",
"ScalableDimension",
"ScalingPolicyUpdateBehavior",
"MinCapacity",
"TargetTrackingConfigurations",
"PredictiveScalingMaxCapacityBuffer",
"CustomizedLoadMetricSpecification",
"PredefinedLoadMetricSpecification",
"ResourceId",
"ScheduledActionBufferTime",
"MaxCapacity",
"PredictiveScalingMode"
})
public class ScalingPlanScalingInstruction implements Property
{
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-disabledynamicscaling
*
*/
@JsonProperty("DisableDynamicScaling")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-disabledynamicscaling")
private CharSequence disableDynamicScaling;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-servicenamespace
*
*/
@JsonProperty("ServiceNamespace")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-servicenamespace")
private CharSequence serviceNamespace;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybehavior
*
*/
@JsonProperty("PredictiveScalingMaxCapacityBehavior")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybehavior")
private CharSequence predictiveScalingMaxCapacityBehavior;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalabledimension
*
*/
@JsonProperty("ScalableDimension")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalabledimension")
private CharSequence scalableDimension;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalingpolicyupdatebehavior
*
*/
@JsonProperty("ScalingPolicyUpdateBehavior")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalingpolicyupdatebehavior")
private CharSequence scalingPolicyUpdateBehavior;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-mincapacity
*
*/
@JsonProperty("MinCapacity")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-mincapacity")
private Number minCapacity;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-targettrackingconfigurations
*
*/
@JsonProperty("TargetTrackingConfigurations")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-targettrackingconfigurations")
private List> targetTrackingConfigurations = new ArrayList>();
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybuffer
*
*/
@JsonProperty("PredictiveScalingMaxCapacityBuffer")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybuffer")
private Number predictiveScalingMaxCapacityBuffer;
/**
* ScalingPlanCustomizedLoadMetricSpecification
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html
*
*/
@JsonProperty("CustomizedLoadMetricSpecification")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html")
private Property customizedLoadMetricSpecification;
/**
* ScalingPlanPredefinedLoadMetricSpecification
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedloadmetricspecification.html
*
*/
@JsonProperty("PredefinedLoadMetricSpecification")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedloadmetricspecification.html")
private Property predefinedLoadMetricSpecification;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-resourceid
*
*/
@JsonProperty("ResourceId")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-resourceid")
private CharSequence resourceId;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scheduledactionbuffertime
*
*/
@JsonProperty("ScheduledActionBufferTime")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scheduledactionbuffertime")
private Number scheduledActionBufferTime;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-maxcapacity
*
*/
@JsonProperty("MaxCapacity")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-maxcapacity")
private Number maxCapacity;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmode
*
*/
@JsonProperty("PredictiveScalingMode")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmode")
private CharSequence predictiveScalingMode;
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-disabledynamicscaling
*
*/
@JsonIgnore
public CharSequence getDisableDynamicScaling() {
return disableDynamicScaling;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-disabledynamicscaling
*
*/
@JsonIgnore
public void setDisableDynamicScaling(CharSequence disableDynamicScaling) {
this.disableDynamicScaling = disableDynamicScaling;
}
public ScalingPlanScalingInstruction withDisableDynamicScaling(CharSequence disableDynamicScaling) {
this.disableDynamicScaling = disableDynamicScaling;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-servicenamespace
*
*/
@JsonIgnore
public CharSequence getServiceNamespace() {
return serviceNamespace;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-servicenamespace
*
*/
@JsonIgnore
public void setServiceNamespace(CharSequence serviceNamespace) {
this.serviceNamespace = serviceNamespace;
}
public ScalingPlanScalingInstruction withServiceNamespace(CharSequence serviceNamespace) {
this.serviceNamespace = serviceNamespace;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybehavior
*
*/
@JsonIgnore
public CharSequence getPredictiveScalingMaxCapacityBehavior() {
return predictiveScalingMaxCapacityBehavior;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybehavior
*
*/
@JsonIgnore
public void setPredictiveScalingMaxCapacityBehavior(CharSequence predictiveScalingMaxCapacityBehavior) {
this.predictiveScalingMaxCapacityBehavior = predictiveScalingMaxCapacityBehavior;
}
public ScalingPlanScalingInstruction withPredictiveScalingMaxCapacityBehavior(CharSequence predictiveScalingMaxCapacityBehavior) {
this.predictiveScalingMaxCapacityBehavior = predictiveScalingMaxCapacityBehavior;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalabledimension
*
*/
@JsonIgnore
public CharSequence getScalableDimension() {
return scalableDimension;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalabledimension
*
*/
@JsonIgnore
public void setScalableDimension(CharSequence scalableDimension) {
this.scalableDimension = scalableDimension;
}
public ScalingPlanScalingInstruction withScalableDimension(CharSequence scalableDimension) {
this.scalableDimension = scalableDimension;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalingpolicyupdatebehavior
*
*/
@JsonIgnore
public CharSequence getScalingPolicyUpdateBehavior() {
return scalingPolicyUpdateBehavior;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scalingpolicyupdatebehavior
*
*/
@JsonIgnore
public void setScalingPolicyUpdateBehavior(CharSequence scalingPolicyUpdateBehavior) {
this.scalingPolicyUpdateBehavior = scalingPolicyUpdateBehavior;
}
public ScalingPlanScalingInstruction withScalingPolicyUpdateBehavior(CharSequence scalingPolicyUpdateBehavior) {
this.scalingPolicyUpdateBehavior = scalingPolicyUpdateBehavior;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-mincapacity
*
*/
@JsonIgnore
public Number getMinCapacity() {
return minCapacity;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-mincapacity
*
*/
@JsonIgnore
public void setMinCapacity(Number minCapacity) {
this.minCapacity = minCapacity;
}
public ScalingPlanScalingInstruction withMinCapacity(Number minCapacity) {
this.minCapacity = minCapacity;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-targettrackingconfigurations
*
*/
@JsonIgnore
public List> getTargetTrackingConfigurations() {
return targetTrackingConfigurations;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-targettrackingconfigurations
*
*/
@JsonIgnore
public void setTargetTrackingConfigurations(List> targetTrackingConfigurations) {
this.targetTrackingConfigurations = targetTrackingConfigurations;
}
public ScalingPlanScalingInstruction withTargetTrackingConfigurations(List> targetTrackingConfigurations) {
this.targetTrackingConfigurations = targetTrackingConfigurations;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybuffer
*
*/
@JsonIgnore
public Number getPredictiveScalingMaxCapacityBuffer() {
return predictiveScalingMaxCapacityBuffer;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmaxcapacitybuffer
*
*/
@JsonIgnore
public void setPredictiveScalingMaxCapacityBuffer(Number predictiveScalingMaxCapacityBuffer) {
this.predictiveScalingMaxCapacityBuffer = predictiveScalingMaxCapacityBuffer;
}
public ScalingPlanScalingInstruction withPredictiveScalingMaxCapacityBuffer(Number predictiveScalingMaxCapacityBuffer) {
this.predictiveScalingMaxCapacityBuffer = predictiveScalingMaxCapacityBuffer;
return this;
}
/**
* ScalingPlanCustomizedLoadMetricSpecification
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html
*
*/
@JsonIgnore
public Property getCustomizedLoadMetricSpecification() {
return customizedLoadMetricSpecification;
}
/**
* ScalingPlanCustomizedLoadMetricSpecification
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-customizedloadmetricspecification.html
*
*/
@JsonIgnore
public void setCustomizedLoadMetricSpecification(Property customizedLoadMetricSpecification) {
this.customizedLoadMetricSpecification = customizedLoadMetricSpecification;
}
public ScalingPlanScalingInstruction withCustomizedLoadMetricSpecification(Property customizedLoadMetricSpecification) {
this.customizedLoadMetricSpecification = customizedLoadMetricSpecification;
return this;
}
/**
* ScalingPlanPredefinedLoadMetricSpecification
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedloadmetricspecification.html
*
*/
@JsonIgnore
public Property getPredefinedLoadMetricSpecification() {
return predefinedLoadMetricSpecification;
}
/**
* ScalingPlanPredefinedLoadMetricSpecification
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-predefinedloadmetricspecification.html
*
*/
@JsonIgnore
public void setPredefinedLoadMetricSpecification(Property predefinedLoadMetricSpecification) {
this.predefinedLoadMetricSpecification = predefinedLoadMetricSpecification;
}
public ScalingPlanScalingInstruction withPredefinedLoadMetricSpecification(Property predefinedLoadMetricSpecification) {
this.predefinedLoadMetricSpecification = predefinedLoadMetricSpecification;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-resourceid
*
*/
@JsonIgnore
public CharSequence getResourceId() {
return resourceId;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-resourceid
*
*/
@JsonIgnore
public void setResourceId(CharSequence resourceId) {
this.resourceId = resourceId;
}
public ScalingPlanScalingInstruction withResourceId(CharSequence resourceId) {
this.resourceId = resourceId;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scheduledactionbuffertime
*
*/
@JsonIgnore
public Number getScheduledActionBufferTime() {
return scheduledActionBufferTime;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-scheduledactionbuffertime
*
*/
@JsonIgnore
public void setScheduledActionBufferTime(Number scheduledActionBufferTime) {
this.scheduledActionBufferTime = scheduledActionBufferTime;
}
public ScalingPlanScalingInstruction withScheduledActionBufferTime(Number scheduledActionBufferTime) {
this.scheduledActionBufferTime = scheduledActionBufferTime;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-maxcapacity
*
*/
@JsonIgnore
public Number getMaxCapacity() {
return maxCapacity;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-maxcapacity
*
*/
@JsonIgnore
public void setMaxCapacity(Number maxCapacity) {
this.maxCapacity = maxCapacity;
}
public ScalingPlanScalingInstruction withMaxCapacity(Number maxCapacity) {
this.maxCapacity = maxCapacity;
return this;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmode
*
*/
@JsonIgnore
public CharSequence getPredictiveScalingMode() {
return predictiveScalingMode;
}
/**
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-scalinginstruction.html#cfn-autoscalingplans-scalingplan-scalinginstruction-predictivescalingmode
*
*/
@JsonIgnore
public void setPredictiveScalingMode(CharSequence predictiveScalingMode) {
this.predictiveScalingMode = predictiveScalingMode;
}
public ScalingPlanScalingInstruction withPredictiveScalingMode(CharSequence predictiveScalingMode) {
this.predictiveScalingMode = predictiveScalingMode;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("disableDynamicScaling", disableDynamicScaling).append("serviceNamespace", serviceNamespace).append("predictiveScalingMaxCapacityBehavior", predictiveScalingMaxCapacityBehavior).append("scalableDimension", scalableDimension).append("scalingPolicyUpdateBehavior", scalingPolicyUpdateBehavior).append("minCapacity", minCapacity).append("targetTrackingConfigurations", targetTrackingConfigurations).append("predictiveScalingMaxCapacityBuffer", predictiveScalingMaxCapacityBuffer).append("customizedLoadMetricSpecification", customizedLoadMetricSpecification).append("predefinedLoadMetricSpecification", predefinedLoadMetricSpecification).append("resourceId", resourceId).append("scheduledActionBufferTime", scheduledActionBufferTime).append("maxCapacity", maxCapacity).append("predictiveScalingMode", predictiveScalingMode).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(disableDynamicScaling).append(predictiveScalingMaxCapacityBehavior).append(resourceId).append(scheduledActionBufferTime).append(scalableDimension).append(targetTrackingConfigurations).append(predictiveScalingMaxCapacityBuffer).append(maxCapacity).append(predefinedLoadMetricSpecification).append(scalingPolicyUpdateBehavior).append(customizedLoadMetricSpecification).append(predictiveScalingMode).append(minCapacity).append(serviceNamespace).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ScalingPlanScalingInstruction) == false) {
return false;
}
ScalingPlanScalingInstruction rhs = ((ScalingPlanScalingInstruction) other);
return new EqualsBuilder().append(disableDynamicScaling, rhs.disableDynamicScaling).append(predictiveScalingMaxCapacityBehavior, rhs.predictiveScalingMaxCapacityBehavior).append(resourceId, rhs.resourceId).append(scheduledActionBufferTime, rhs.scheduledActionBufferTime).append(scalableDimension, rhs.scalableDimension).append(targetTrackingConfigurations, rhs.targetTrackingConfigurations).append(predictiveScalingMaxCapacityBuffer, rhs.predictiveScalingMaxCapacityBuffer).append(maxCapacity, rhs.maxCapacity).append(predefinedLoadMetricSpecification, rhs.predefinedLoadMetricSpecification).append(scalingPolicyUpdateBehavior, rhs.scalingPolicyUpdateBehavior).append(customizedLoadMetricSpecification, rhs.customizedLoadMetricSpecification).append(predictiveScalingMode, rhs.predictiveScalingMode).append(minCapacity, rhs.minCapacity).append(serviceNamespace, rhs.serviceNamespace).isEquals();
}
}