public class TimeBasedAutoScalingConfiguration extends Object implements Serializable, Cloneable
Describes an instance's time-based auto scaling configuration.
| Constructor and Description |
|---|
TimeBasedAutoScalingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TimeBasedAutoScalingConfiguration |
clone() |
boolean |
equals(Object obj) |
WeeklyAutoScalingSchedule |
getAutoScalingSchedule()
A
WeeklyAutoScalingSchedule object with the instance
schedule. |
String |
getInstanceId()
The instance ID.
|
int |
hashCode() |
void |
setAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
A
WeeklyAutoScalingSchedule object with the instance
schedule. |
void |
setInstanceId(String instanceId)
The instance ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimeBasedAutoScalingConfiguration |
withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
A
WeeklyAutoScalingSchedule object with the instance
schedule. |
TimeBasedAutoScalingConfiguration |
withInstanceId(String instanceId)
The instance ID.
|
public void setInstanceId(String instanceId)
The instance ID.
instanceId - The instance ID.public String getInstanceId()
The instance ID.
public TimeBasedAutoScalingConfiguration withInstanceId(String instanceId)
The instance ID.
instanceId - The instance ID.public void setAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
A WeeklyAutoScalingSchedule object with the instance
schedule.
autoScalingSchedule - A WeeklyAutoScalingSchedule object with the instance
schedule.public WeeklyAutoScalingSchedule getAutoScalingSchedule()
A WeeklyAutoScalingSchedule object with the instance
schedule.
WeeklyAutoScalingSchedule object with the instance
schedule.public TimeBasedAutoScalingConfiguration withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
A WeeklyAutoScalingSchedule object with the instance
schedule.
autoScalingSchedule - A WeeklyAutoScalingSchedule object with the instance
schedule.public String toString()
toString in class ObjectObject.toString()public TimeBasedAutoScalingConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.