@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScalingTrigger extends Object implements Serializable, Cloneable, StructuredPojo
The conditions that trigger an automatic scaling activity.
Constructor and Description |
---|
ScalingTrigger() |
Modifier and Type | Method and Description |
---|---|
ScalingTrigger |
clone() |
boolean |
equals(Object obj) |
CloudWatchAlarmDefinition |
getCloudWatchAlarmDefinition()
The definition of a CloudWatch metric alarm.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchAlarmDefinition(CloudWatchAlarmDefinition cloudWatchAlarmDefinition)
The definition of a CloudWatch metric alarm.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ScalingTrigger |
withCloudWatchAlarmDefinition(CloudWatchAlarmDefinition cloudWatchAlarmDefinition)
The definition of a CloudWatch metric alarm.
|
public void setCloudWatchAlarmDefinition(CloudWatchAlarmDefinition cloudWatchAlarmDefinition)
The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
cloudWatchAlarmDefinition
- The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other
trigger parameters, scaling activity begins.public CloudWatchAlarmDefinition getCloudWatchAlarmDefinition()
The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
public ScalingTrigger withCloudWatchAlarmDefinition(CloudWatchAlarmDefinition cloudWatchAlarmDefinition)
The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
cloudWatchAlarmDefinition
- The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other
trigger parameters, scaling activity begins.public String toString()
toString
in class Object
Object.toString()
public ScalingTrigger clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.