@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeBasedAutoScalingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.