@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScalingAction extends Object implements Serializable, Cloneable, StructuredPojo
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
Constructor and Description |
---|
ScalingAction() |
Modifier and Type | Method and Description |
---|---|
ScalingAction |
clone() |
boolean |
equals(Object obj) |
String |
getMarket()
Not available for instance groups.
|
SimpleScalingPolicyConfiguration |
getSimpleScalingPolicyConfiguration()
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the
adjustment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMarket(MarketType market)
Not available for instance groups.
|
void |
setMarket(String market)
Not available for instance groups.
|
void |
setSimpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration simpleScalingPolicyConfiguration)
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the
adjustment.
|
String |
toString()
Returns a string representation of this object.
|
ScalingAction |
withMarket(MarketType market)
Not available for instance groups.
|
ScalingAction |
withMarket(String market)
Not available for instance groups.
|
ScalingAction |
withSimpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration simpleScalingPolicyConfiguration)
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the
adjustment.
|
public void setMarket(String market)
Not available for instance groups. Instance groups use the market type specified for the group.
market
- Not available for instance groups. Instance groups use the market type specified for the group.MarketType
public String getMarket()
Not available for instance groups. Instance groups use the market type specified for the group.
MarketType
public ScalingAction withMarket(String market)
Not available for instance groups. Instance groups use the market type specified for the group.
market
- Not available for instance groups. Instance groups use the market type specified for the group.MarketType
public void setMarket(MarketType market)
Not available for instance groups. Instance groups use the market type specified for the group.
market
- Not available for instance groups. Instance groups use the market type specified for the group.MarketType
public ScalingAction withMarket(MarketType market)
Not available for instance groups. Instance groups use the market type specified for the group.
market
- Not available for instance groups. Instance groups use the market type specified for the group.MarketType
public void setSimpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration simpleScalingPolicyConfiguration)
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
simpleScalingPolicyConfiguration
- The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the
adjustment.public SimpleScalingPolicyConfiguration getSimpleScalingPolicyConfiguration()
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
public ScalingAction withSimpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration simpleScalingPolicyConfiguration)
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
simpleScalingPolicyConfiguration
- The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the
adjustment.public String toString()
toString
in class Object
Object.toString()
public ScalingAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.