@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; 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 Object
Object.toString()
public TimeBasedAutoScalingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.