Class TimeBasedAutoScalingConfiguration
java.lang.Object
com.amazonaws.services.opsworks.model.TimeBasedAutoScalingConfiguration
- All Implemented Interfaces:
Serializable,Cloneable
Describes an instance's time-based auto scaling configuration.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanAWeeklyAutoScalingScheduleobject with the instance schedule.The instance ID.inthashCode()voidsetAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule) AWeeklyAutoScalingScheduleobject with the instance schedule.voidsetInstanceId(String instanceId) The instance ID.toString()Returns a string representation of this object; useful for testing and debugging.withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule) AWeeklyAutoScalingScheduleobject with the instance schedule.withInstanceId(String instanceId) The instance ID.
-
Constructor Details
-
TimeBasedAutoScalingConfiguration
public TimeBasedAutoScalingConfiguration()
-
-
Method Details
-
setInstanceId
The instance ID.
- Parameters:
instanceId- The instance ID.
-
getInstanceId
The instance ID.
- Returns:
- The instance ID.
-
withInstanceId
The instance ID.
- Parameters:
instanceId- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoScalingSchedule
A
WeeklyAutoScalingScheduleobject with the instance schedule.- Parameters:
autoScalingSchedule- AWeeklyAutoScalingScheduleobject with the instance schedule.
-
getAutoScalingSchedule
A
WeeklyAutoScalingScheduleobject with the instance schedule.- Returns:
- A
WeeklyAutoScalingScheduleobject with the instance schedule.
-
withAutoScalingSchedule
public TimeBasedAutoScalingConfiguration withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule) A
WeeklyAutoScalingScheduleobject with the instance schedule.- Parameters:
autoScalingSchedule- AWeeklyAutoScalingScheduleobject with the instance schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-