public class TimeBasedAutoScalingConfiguration extends Object implements Serializable
Describes an instance's time-based auto scaling configuration.
Constructor and Description |
---|
TimeBasedAutoScalingConfiguration() |
Modifier and Type | Method and Description |
---|---|
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 String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public TimeBasedAutoScalingConfiguration withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance ID.public WeeklyAutoScalingSchedule getAutoScalingSchedule()
WeeklyAutoScalingSchedule
object with the instance
schedule.WeeklyAutoScalingSchedule
object with the instance
schedule.public void setAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
WeeklyAutoScalingSchedule
object with the instance
schedule.autoScalingSchedule
- A WeeklyAutoScalingSchedule
object with the instance
schedule.public TimeBasedAutoScalingConfiguration withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
WeeklyAutoScalingSchedule
object with the instance
schedule.
Returns a reference to this object so that method calls can be chained together.
autoScalingSchedule
- A WeeklyAutoScalingSchedule
object with the instance
schedule.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.