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()
boolean
AWeeklyAutoScalingSchedule
object with the instance schedule.The instance ID.int
hashCode()
void
setAutoScalingSchedule
(WeeklyAutoScalingSchedule autoScalingSchedule) AWeeklyAutoScalingSchedule
object with the instance schedule.void
setInstanceId
(String instanceId) The instance ID.toString()
Returns a string representation of this object; useful for testing and debugging.withAutoScalingSchedule
(WeeklyAutoScalingSchedule autoScalingSchedule) AWeeklyAutoScalingSchedule
object 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
WeeklyAutoScalingSchedule
object with the instance schedule.- Parameters:
autoScalingSchedule
- AWeeklyAutoScalingSchedule
object with the instance schedule.
-
getAutoScalingSchedule
A
WeeklyAutoScalingSchedule
object with the instance schedule.- Returns:
- A
WeeklyAutoScalingSchedule
object with the instance schedule.
-
withAutoScalingSchedule
public TimeBasedAutoScalingConfiguration withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule) A
WeeklyAutoScalingSchedule
object with the instance schedule.- Parameters:
autoScalingSchedule
- AWeeklyAutoScalingSchedule
object 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
-